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
- GameObjects with a material derived from a Custom Lighting Surface Shader are displayed as skewed on quads when the Camera's Width and Height properties of the Viewport Rect are lower than 1
- Warning 'Unable to find player assmebly' is thrown when building some Project Templates
- ArgumentOutOfRangeException when manipulating the Project Settings search bar
- [Linux] Touch freezes in Player when any mouse button is clicked
- UnityEngine.Rendering.Volume.OnEnable() is called twice before OnDisable() creating multiple copies of the same volume when a volume is enabled right after Domain Reload when entering Play Mode
This is a duplicate of issue #991724