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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
This is a duplicate of issue #991724