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
Keep company data safe with Chrome Enterprise Icon
Keep company data safe with Chrome Enterprise

Protect your business with AI policies and data loss prevention in the browser

Make AI work your way with Chrome Enterprise. Block unapproved sites and set custom data controls that align with your company's policies.
Download Chrome
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