Skip to content

Releases: Cysharp/UniTask

Ver.2.2.1

26 Feb 10:02
Compare
Choose a tag to compare

New TimeoutController and document of best practice for timeout handling, see ReadMe#Timeout section.
New PlayerLoopHelper.Initialize(InjectPlayerLoopTimings) improve performance, see ReadMe#PlayerLoop section.

  • Breaking Changes: UniTask.WithCancellation is renamed to AttachExternalCancellation
  • Breaking Changes: AsyncOperation.WithCancellation simply becomes shorthand of ToUniTask(cancellationToken)
  • Add: TimeoutController for zero allocation timeout handling
  • Add: PlayerLoopHelper.Initialize(InjectPlayerLoopTimings)
  • Improved: UniTask.Delay automatically fallback to DelayType.Realtime when run on EditMode

Ver.2.2.0

26 Feb 07:53
Compare
Choose a tag to compare

Invalid release, check 2.2.1.

Ver.2.1.2

08 Feb 10:51
Compare
Choose a tag to compare
  • Supports disable built-in modules, com.unity.modules.physics, com.unity.modules.physics2d, com.unity.modules.particlesystem, com.unity.ugui, com.unity.modules.unitywebrequest
  • Fix using AsyncUnityEventHandler with a already canceled token #220, thanks @taigacon

Ver.2.1.1

20 Jan 08:42
Compare
Choose a tag to compare
  • Fix IEnumerator.ToUniTask breaks pooling when coroutine returns immediately

Ver.2.1.0

07 Jan 08:48
Compare
Choose a tag to compare

This release is compatible with Unity 2020.2.
Previous versions are broken in 2020.2 so require to update if you use Unity 2020.2.


Add UnityWebRequestException.ResponseHeaders
Add PlayerLoopTiming.TimeUpdate/LastTimeUpdate in Unity 2020.2
Force complete awaiting JobHandles when quitted in UnityEditor #196, thanks @RamType0
Suppress allocations around UniTask.AsUniTask and UniTask.AsAsyncUnitUniTask #203, thanks @RamType0
Accept calling DeferPromise.GetStatus multiple times #204, thanks @piti6
Unity 2020.2 changed order of the PlayerLoop subsystem list (should fix #208) #210, thanks @WallyCZ
Fix DelayType.Realtime does not work when use BuildPlayer in UnityEditor

Ver.2.0.37

09 Nov 07:14
Compare
Choose a tag to compare
  • Improve performance of UniTask yield player loop
  • Improve DoTween's cancellation support #189, thanks @IllusionCui
  • Improve stability for WebGL build

Ver.2.0.36

22 Sep 01:54
Compare
Choose a tag to compare
  • Fix: UniTask.Forget() does not work correctly when source is already completed and manually optimized task source, thanks @kamyker
  • Add: enumerator.ToUniTask(MonoBehaviour coroutineRunner)
  • Changed: log WARN on await enumerator when yield not supported types(Coroutine, WaitForEndOfFrame, WaitForFixedUpdate)

Ver.2.0.35

21 Sep 04:01
Compare
Choose a tag to compare
  • Fix broken internal UniTask playerloop-runner, this is regression from 2.0.32 and very critical, please upgrade if use 2.0.32-34.
  • Remove OnMouse_event trigger to prevent warning on Android, iOS, #170
  • Changed clear timing of internal UniTask playerloop-runner's queue for Unity Editor and run rest action when quitted.

Ver.2.0.34

16 Sep 01:03
Compare
Choose a tag to compare
  • Change: await support for AsyncOperationHandle(Addressables), when !handle.Isvalid return completed task(before throw exception)

Ver.2.0.33

14 Sep 21:59
Compare
Choose a tag to compare
  • Fix await AssetBundleRequest.AwaitForAllAssets does not work, thanks @c0nd3v
  • Fix IEnumerator.ToUniTask, does not work correctly when coroutine complete immediately
  • Task<UniTask>.Unwrap, UniTask<Task>.Unwrap adds continueOnCapturedContext overload, thanks @hikarin522