Provides an efficient allocation free async/await integration for Unity. Struct-based UniTask<T> and custom AsyncMethodBuilder to achieve zero allocation. Makes all Unity AsyncOperations and Coroutines awaitable. PlayerLoop-based task(UniTask.Yield, UniTask.Delay, UniTask.DelayFrame, etc..) that enables replacing all coroutine operations. MonoBehaviour Message Events and uGUI Events as awaitable/async-enumerable. Runs completely on Unity's PlayerLoop so doesn't use threads and runs on WebGL, wasm, etc. Asynchronous LINQ, with Channel and AsyncReactiveProperty. TaskTracker window to prevent memory leaks. Highly compatible behavior with Task/ValueTask/IValueTaskSource. In UniTask v2, almost everything is zero-allocated due to a thorough rewrite of the code (Technical details to follow). In addition to significant performance improvements, the new asynchronous sequences, and Asynchronous LINQ.

Features

  • Awaitable Events
  • Cancellation and Exception handling
  • Allocation on Profiler
  • UniTaskTracker
  • External Assets
  • UniTask features rely on C# 7.0

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow UniTask

UniTask Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of UniTask!

Additional Project Details

Programming Language

C#

Related Categories

C# Games, C# Software Development Software

Registered

2022-06-06