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
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
- "GetPreferedValue" returns max value when using auto-sizing
- UI Builder doesn't update the style sheet when using "Extract inline style" right-click option
- “Assertion failed on expression” errors thrown when undoing Nodes creation with keyboard shortcut
This is a duplicate of issue #991724