Search Issue Tracker
Fixed in 2017.1.X
Votes
0
Found in
5.6.0b5
Issue ID
871429
Regression
No
Test Runner gets stuck on Running Tests dialog when test is run just after the recompilation should occur
To reproduce:
1. Open attached project.
2. Open script: Editor->StoreRestoreSceneSetup.cs
3. There is test, RUN_ME_AS_FAST_AS_POSSIBLE, add a comment, or add any letter to the existing comment to make it recompile.
4. Double click the same test to run in Test Runner upon EditMode tab (scroll down at the very bottom)(don't wait for recompilation).
Expected result: Tests runs fine.
Actual result: Test Runner gets stuck at some point and Running Tests dialog does not disappear:
NOTES:
Unity starts recompilation after receiving focus.
If waited after recompilation, everything starts working fine. Only occurs if clicked really fast.
Sometimes [OneTimeTearDown] does not get called after running test (you can tell that if after running a tests two scenes are left on hierarchy)
Most of the times, it executes [OneTimeTearDown], but Test Runner is still stuck and dialog does not disappear.
Running any test again fixes the stuck dialog.
The tests itself tests SceneManagerSetup functionality (opens two scenes, executes GetSceneManagerSetup (might be related))
Does not repro on other tests than this one
Does not repro on empty project (maybe recompilation time is too short)
Looks like race condition might be happening
Not 100% reproducible, try repeating steps 3 and 4 several times if no repro.
Version tested on:
Version 5.6.0b5 (802d0eaaa43c)
Sun, 15 Jan 2017 18:38:47 GMT
Branch: trunk
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Add comment