Version: Unity 6.6 (6000.6)
Language : English
Simulate hitches for testing
Write multithreaded code with the job system

Distribute work across threads

Unity provides different options for work that you don’t want to run inline on the main thread. The job system schedules small units of work across worker threads to use all available CPU cores. The Awaitable class integrates C# async and await with Unity’s frame loop, letting a method suspend and resume without blocking the main thread.

Topic Description
Write multithreaded code with the job system Use Unity’s job system to get the most out of multi-core CPUs and parallelize your algorithms.
Asynchronous programming with the Awaitable class Asynchronous programming in Unity with the .NET async and await keywords and Unity’s own custom Awaitable class.

Additional resources

Simulate hitches for testing
Write multithreaded code with the job system