Search Issue Tracker
Fixed in 2019.1.X
Fixed in 2018.2.X, 2018.3.X
Votes
0
Found in
2018.2.6f1
Issue ID
1077871
Regression
No
[TestRunner] Tests are not torn down properly when they fail due to logging an Error
To reproduce:
1. Download attached project "TearDownRepro.zip" and open in Unity
2. Open "SampleScene" scene
3. Open Test Runner window
4. In Test Runner window press "PlayMode" button
5. Run TestFail or UnityTestFail
6. Notice that the TearDown and UnityTearDown methods are called (logged to a Console)
7. Run UnityTestError
8. Notice that the TearDown and UnityTearDown methods are not called
Notes:
- This issue appears on both Windows and OSX
Reproduced on Unity 2018.2.0a3, 2018.2.6f1, 2018.2.7f1 and 2018.3.0b1
Could not reproduce on Unity 2017.4 and 2018.1 because scripts becomes corrupted
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
Add comment