Search Issue Tracker
Duplicate
Votes
0
Found in
2018.1.0b9
Issue ID
1010532
Regression
No
Using async and await in an editor script does not return execution to the main thread when in Edit Mode
To reproduce:
1. Open the user's attached project
2. Open the custom Editor window "AsyncAwaitEditorWindow" via "Window->Async Await Demo"
3. Make sure "Editor 'pump' active" is not toggled on and press the Process button
4. Force a refresh by resizing the Game View or Scene View
Expected result: When pressing the "Process" button, 3 new GameObjects are created after 1 second
Actual result: The new GameObjects are only created after forcing the Editor to refresh
Reproduced with: 2017.1.3f1, 2017.2.2f1, 2017.3.1p3, 2018.1.0b10, 2018.2.0a4
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Code runs slower when using a cached exception instance compared to creating a new one
- Broken UI in Default Preset Add Section of "Preset Manager" window
- [iOS] The Player freezes when closing the Notification Center and quickly swiping down from top
- Crash on Texture2D:SetPixelImpl when rapidly calling Texture2D.Apply()
- Graph Lines are not rendered when using Experimental GraphView or GridBackground
This is a duplicate of issue #991724