Releases: Cysharp/UniTask
Ver.2.0.32
- Add
UniTask.RunOnThreadPool
, this is same asUniTask.Run
howeverUniTask.Run
will be marked[Obsolete]
on v2.2, recommend to useRunOnThreadPool
. - Add
Task<UniTask>.Unwrap
andUniTask<Task>.Unwrap
, thanks @hikarin522 - Fix
PlayerLoopTiming.Initialization
does not work - Internal
ITaskPoolNode<T>
interface is changed toref T NextNode { get; }
Ver.2.0.31
- 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
Fix await IEnumerator + WaitForSeconds does not follow timescale(to behave same as StartCoroutine) #133
Ver.2.0.28
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
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
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
Ver.2.0.24
Add: UniTask.Never
Add: UniTaskAsyncEnumerable.Create
Fix: Support task tracking of UniTaskAsyncEnumerable.Select/Where
Ver.2.0.23
- Important Fix: lose exception stacktrace info when task is completed on synchronous
Ver.2.0.22
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)