What problem does it solve?
This skill helps Unity developers avoid freezing the main thread by providing patterns and utilities for non-blocking scene loads, asset loading, network requests, and file I/O operations.
Core Features & Use Cases
- Coroutines, async/await, and UniTask: guidance on when to use each approach and trade-offs for allocations and main-thread safety.
- Cancellation and lifecycle safety: CancellationToken patterns, DestroyCancellationToken in AsyncMonoBehaviour, and safe RunAsync helpers to prevent leaked tasks.
- Utilities and templates: ready-made AsyncLoader, AsyncMonoBehaviour, AsyncOperation, CoroutineToTask utilities and a generator script to scaffold components.
- Use Cases: sequential and parallel asset loading, scene loading with progress reporting, network requests with timeouts, bridging legacy coroutines to awaitable Tasks or UniTask.
Quick Start
Use the asynchronous-programming skill to implement an awaitable scene load with progress reporting and cancellation in your Unity project.