github Cysharp/UniTask 2.0.11-rc8
Ver 2.0.11-rc8

latest releases: 2.5.10, 2.5.9, 2.5.8...
pre-release4 years ago

This version is preview, if you want to use stable version, check 1.3.1.

2.0.x has many breaking changes, see 2.0.0-preview1 release notes.

Improvement

  • Add JobHandle.WaitAsync(CancellationToken)
  • Fix channel's cancellationTokenRegistration does not handle correctly
  • Fix in UnityEditor performance issue
  • Fix: does not work zero-allocation mechanism in release build
  • .NET Core - UniTask to ValueTask becomes zero overhead
  • .NET Core - coreapp3.1's UniTask.Yield becomes zero allocation
  • .NET Core - Add ValueTask.AsUniTask

Breaking Changes

  • lower Unity support version is changed to 2019.1
  • UniTaskVoid can not await.
  • UnityWebRequest's AsyncOperation calls UnityWebRequest.Abort() when detect canceled
  • IObservable<T>.ToUniTask parameter order changed from CancellationToken cancellationToken, bool useFirst to bool useFirst, CancellationToken cancellationToken

Don't miss a new UniTask release

NewReleases is sending notifications on new releases.