Replies: 1 comment
-
Did you find a solution? I also have this problem with converting tasks to synchronous calls. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am doing a network operation to get some data from PlayFab and then my Azure Functions app. The code uses UniTask and looks like this:
This works great, however, while testing in development, I want to be able to make these calls block so that I can call them from each scene, without having to load up my splash screen first, so I can more easily test each of my scenes in isolation.
I tried changing the code to this:
However, this throws an exception and it looks like it's not possible to GetAwaiter() on a UniTask.
Is there any workaround to force a call to be blocking so I can make my scenes testable in isolation?
Beta Was this translation helpful? Give feedback.
All reactions