Search Issue Tracker
By Design
Votes
0
Found in
2017.4
2018.4
2019.2
2019.3
2020.1
2020.1.0a11
Issue ID
1199558
Regression
No
[TestRunner] Calling a Coroutine which waits for a few frames in Edit Mode Tests will freeze the test runner
Reproduction steps:
1. Open "coroutine_delay.zip" project
2. Open the Test Runner
3. "Run All" Edit Mode Tests
Expected Result: All tests finish running
Actual Result: Process freezes on Test 4 which waits for a few frames
Error:
"EditMode test can only yield null"
Reproduced with: 2020.1.0a14, 2019.3.0b12, 2019.2.13f1, 2018.4.13f1, 2017.4.35f1
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note:
Coroutines only work in play mode and cannot be used during an EditMode test or in the editor.