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 (10)

  1. B217db483c36786ffc8a39e28d6ec584?d=mm


    Jul 01, 2020 04:08

    Seeing this in Unity 2019.3.3f1 - how is this "resolved"?

  2. 482cfff1c21068a8f1846c9e632908b9?d=mm


    May 06, 2020 17:40

    Still happening. Unity 2019.3.0f6, Test Framework 1.1.14.
    It doesn't happen always, but after some time I end up with lots of InitTestScene scenes in my Assets folder.

  3. 268e488556c0e9e604ef13d23f63ce62?d=mm


    Apr 30, 2020 20:55

    Still occurs for me on Unity 2019.3.10f1 with Unity Test Framework 1.1.13

  4. 19f8516b8d7ddeaba3a76e6c0e6f3f53?d=mm


    Feb 28, 2020 11:07

    I have this issue as well. I am using Mac, Rider, Unity 2019.3.0f6 Personal

  5. B32815a072184bbaa44617dd58d542a5?d=mm


    Feb 12, 2020 13:03

    using Unity 2019.3 and this issue occurs.
    Not sure if it happended on the previous version I used (2019.2).

  6. 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 !

  7. 2eeb49970141439aa6c492a3ca6b1ff3?d=mm


    Oct 19, 2018 14:34

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

  8. 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

  9. 2eeb49970141439aa6c492a3ca6b1ff3?d=mm


    Oct 04, 2018 13:26

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

  10. 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.