You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to spawn 'TutorialMessageView' prefab via next code:
vargo=await assetReference.InstantiateAsync(parent).ToUniTask(cancellationToken: token);
Debug.LogWarning($"Loaded {go.name}, Must be {typeof(T).Name}");
Before await:
After:
Result is wrong.
Native tasks work correctly:
varop= assetReference.InstantiateAsync(parent);vargo=await op.Task;
token.ThrowIfCancellationRequested();
Debug.LogWarning($"Loaded {go.name}, Must be {typeof(T).Name}");
The text was updated successfully, but these errors were encountered:
I want to spawn 'TutorialMessageView' prefab via next code:
Before
await
:After:
Result is wrong.
Native tasks work correctly:
The text was updated successfully, but these errors were encountered: