Search Issue Tracker

Fixed in 2018.1.X

Fixed in 2017.1.X, 2017.2.X, 2017.3.X

Won't Fix in 5.6.X

Votes

3

Found in

5.6.1p4

Issue ID

945000

Regression

No

"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)

Note:
Reproduced on both Windows 10 and mac 10.12.6

Comments (19)

  1. DrummerB

    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.

  2. ModLunar

    Apr 30, 2020 20:55

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

  3. eliatlas1

    Feb 28, 2020 11:07

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

  4. Erenquin

    Feb 12, 2020 13:03

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

  5. Ubiant

    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 !

  6. Ubiant

    Oct 19, 2018 14:34

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

  7. DDainys

    Oct 04, 2018 14:43

    Hello,

    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

  8. Ubiant

    Oct 04, 2018 13:26

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

  9. nickolaib

    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.