Unity3dAsyncAwaitUtil
Unity3dAsyncAwaitUtil copied to clipboard
A bunch of code to make using async-await easier in Unity3D
We're experiencing the Assert failing in the SimpleCoroutineAwaiter implementation of INotifyCompletion.OnCompleted. We've also seen this error pop up many times before in random places. This particular part of the code...
Hello everyone! I am having trouble using `await` with a method from the Unity [WebRTC ](https://github.com/Unity-Technologies/com.unity.webrtc/tree/2.2.0-preview) implementation (I am using version 2.2.0-preview). Most methods which are supposed to be called...
Hey, really cool utility! Makes it really painless to use the new async/await features. I noticed when I run my game I get the following warning in the console: ```...
This overlaps #18 and addresses #9. This approach differs in that it uses a Unity-provided package for scheduling coroutines at edit time. It also includes worked examples of how to...
I'm trying to incrementally convert our codebase from coroutines to async/await. Doing it incrementally means a lot of "await " and "Task.AsIEnumerator()" to convert between the two styles at the...
# add support for using AsyncAwaitUtil in Editor scripts ## minimum version requirement: Unity 2018.2.0 Please note that in addition to the changes contained in this pull request, safe use...
Since WWW is Obsolete, using it shows warnings in the editor. Marking the GetAwaiter as Obsolete as well removes the warnings.
This PR enables awaiting on a coroutine object that has been created previously. Example: ``` // start a coroutine Coroutine coroutine = StartCoroutine(MyCoroutine()); // do things while the coroutine is...
this method in C# ``` private async void DelayedFakeChat() { await new WaitForSeconds(1.0f); _signalBus.Fire(...); } ``` fails to build in an il2cpp build: ``` Bulk_Assembly-CSharp_1.cpp:21899:9: assigning to 'RuntimeObject *' (aka...