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
Cut Data Warehouse Costs up to 54% with BigQuery Icon
Cut Data Warehouse Costs up to 54% with BigQuery

Migrate from Snowflake, Databricks, or Redshift with free migration tools. Exabyte scale without the Exabyte price.

BigQuery delivers up to 54% lower TCO than cloud alternatives. Migrate from legacy or competing warehouses using free BigQuery Migration Service with automated SQL translation. Get serverless scale with no infrastructure to manage, compressed storage, and flexible pricing—pay per query or commit for deeper discounts. New customers get $300 in free credit.
Try BigQuery 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