Skip to content

Releases: Cysharp/UniTask

Ver.2.0.32

07 Sep 09:58
Compare
Choose a tag to compare
  • Add UniTask.RunOnThreadPool, this is same as UniTask.Run however UniTask.Run will be marked [Obsolete] on v2.2, recommend to use RunOnThreadPool.
  • Add Task<UniTask>.Unwrap and UniTask<Task>.Unwrap, thanks @hikarin522
  • Fix PlayerLoopTiming.Initialization does not work
  • Internal ITaskPoolNode<T> interface is changed to ref T NextNode { get; }

Ver.2.0.31

24 Aug 22:21
Compare
Choose a tag to compare
  • Add more DoTween support - AwaitForComplete, AwaitForPause, AwaitForPlay, AwaitForRewind, AwaitForStepComplete
  • Add TMP Generic BindTo Support, thanks @SeungHuLee
  • Add UniTaskAsyncEnumerable.SubscribeAwait, thanks @mayuki
  • Fix UniTask.ToCancellation.ToCancellationToken does not work correctly, thanks @hikarin522
  • Fix remove log spam on UniTaskAsyncEnumerable.EveryValueChanged
  • Fix continue to subscribe if an exception is raised when calling onNext on UniTaskAsyncEnumerable.Subscribe, thanks @mayuki

Ver.2.0.30

14 Aug 08:42
Compare
Choose a tag to compare

Fix await IEnumerator + WaitForSeconds does not follow timescale(to behave same as StartCoroutine) #133

Ver.2.0.28

13 Aug 08:49
Compare
Choose a tag to compare

Improvement: support when not imported com.unity.modules.assetbundle,
Fix: IEnumerator.ToUniTask() behave same as StartCoroutine(run delayed -> run immediately), breaking changes.

Ver.2.0.27

29 Jul 23:27
Compare
Choose a tag to compare

Add: AssetBundleRequest.AwaitForAllAssets
Add: UniTask.WithCancellation
Add: UniTaskSynchrionzationContext
Add: PlayerLoopHelper.IsInjectedUniTaskPlayerLoop
Add: PlayerLoopHelper.DumpCurrentPlayerLoop
Fix: Addressables async extensions does not work correctly when autoReleaseHandle: true

Ver.2.0.26

15 Jul 21:18
Compare
Choose a tag to compare

Add: Add CancellationToken paramter to UniTask.Run.
Fix: UnityWebRequest, Addressables return UniTask.FromException when already isDone and AsyncOperation has error.
Fix: Addressables .WithCancellation does not canceled when raised callback before update #114, thanks @IllusionCui
Fix: AsyncOperation .WithCancellation does not canceled when raised callback before update.
Fix: AsyncOperation/Addressables returns canceled UniTask when already canceled.

Ver.2.0.25

09 Jul 13:45
Compare
Choose a tag to compare
  • Fix NullReferenceEexception on await UnityWebRequest head request with invalid url #108
  • Fix UnityWebRequestException shows string access is not supported #110

Ver.2.0.24

03 Jul 21:41
Compare
Choose a tag to compare

Add: UniTask.Never
Add: UniTaskAsyncEnumerable.Create
Fix: Support task tracking of UniTaskAsyncEnumerable.Select/Where

Ver.2.0.23

28 Jun 18:27
Compare
Choose a tag to compare
  • Important Fix: lose exception stacktrace info when task is completed on synchronous

Ver.2.0.22

28 Jun 16:19
Compare
Choose a tag to compare

Add: await support to AsyncGPUReadbackRequest
Add: SwitchToMainThread, ReturnToMainThread, SwitchToSynchronizationContext, ReturnToSynchronizationContext receive CancellationToken
Add: UniTaskAsyncEnumerable.SkipUntil/TakeUntil
Fix: UniTaskAsyncEnumerable.SkipUntilCanceled behaviour(don't call MoveNextAsync before cancel detected)