Search Issue Tracker

Fixed in Unity 2018.3



Found in


Issue ID




[TestRunner] GameObjects created during Unity Tests Runner tests are not removed in the Untitled scene

Unity Test Runner



Priority: 7Not yet prioritized for a release


Severity: 3Secondary functionality broken

To reproduce:

1. Download attached project "" and open in Unity
2. Click File > New Scene
Note: Observe that Scene is named as "Untitled"
3. Click Window > Test Runner
3. Press "Run All" button in Test Runner
4. Observe that, "New Game Object" created while running Tests does not get deleted when execution of all Tests are finished

- This issue appears on Windows and OSX
- If you run Test when "SampleScene" or your created scene is open, then everything is fine

Reproduced on Unity 2017.2.2p3, 2017.3.2f1, 2017.4.1f1, 2018.1.0f1 and 2018.2.0b1
Cannot reproduce this issue on Unity 2017.1 because Test Runner does not detecs Tests

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.