Search Issue Tracker

Fixed in 2018.1

Fixed in 2017.1, 2017.2, 2017.3

Won't Fix in 5.6



Found in


Issue ID




"TestRunner" "PlayMode" test leaves behind "InitTestScene..." scene assets after test runs

Unity Test Runner


Reproduction steps:

1. Create a New Project
2. "Window" -> "Test Runner"
3. "PlayMode"
4. "Enable Playmode tests"
5. Restart Editor
6. "Create Playmode tests with methods"
7. Spam "Run All"

Fixed in: 2018.1.0a7

Expected Result: Spamming isn't allowed and only one test at a time is run, with only one temporary scene created for that one test
Actual Result: Only one test is run, but multiple scenes are created, leaving all untested scenes in the assets folder

Reproduced with: 2017.8.0a1, 2017.3.0b4, 2017.2.0f3, 2017.1.2p1, 5.6.4f1, 5.6.0f3
Did not reproduce on: 5.5.5f1(Play Mode tests were only implemented in 5.6)

Reproduced on both Windows 10 and mac 10.12.6

Comments (5)

  1. 2eeb49970141439aa6c492a3ca6b1ff3?d=mm


    Oct 19, 2018 14:37

    I just figure out that it seems to be ok (we are now in Unity 2018.3b6) If the issue pops again, I'll generate a bug repro project and I'll submit it.
    Thanks again !

  2. 2eeb49970141439aa6c492a3ca6b1ff3?d=mm


    Oct 19, 2018 14:34

    Sorry I didn't see your answer.
    I'll do this by monday morning

  3. 4223832fce18650303098121796bbb53?d=mm


    Oct 04, 2018 14:43


    I tried reproducing the issue with 2018.3.0b2 and everything was working correctly. Could you file a new bug report? Include your project and add in the description that the case is related to Case #945000

  4. 2eeb49970141439aa6c492a3ca6b1ff3?d=mm


    Oct 04, 2018 13:26

    Unity 2018.3b2 and the issue happens. really fixed ?!

  5. 9c7fb3487565a778da963c39ca169836?d=mm


    Nov 09, 2017 23:56

    Have this issue on my Mac, certainly distracts from development when the tester leaves a mess. Would really appreciate it if this could be fixed!

Add comment

Log in to post comment

All about bugs

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