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
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
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