Search Issue Tracker
Fixed
Votes
1
Found in [Package]
1.4.3
Issue ID
DSTR-1037
Regression
No
Game view displays the test scene when running Test Runner "PlayMode" tests
How to reproduce:
1. Open the “ReportTestFramework1.4Bugs“
2. Open the “SampleScene”
3. Open the Test Runner (Window > General > Test Runner)
4. In the Test Runner window select the “PlayMode” section
5. Select “Run All”
6. Observe the Game view
Expected result: Game view displays the previously opened scene
Actual result: Game view displays the tested scene
Reproduced with: 1.4.3 (2021.3.36f1, 2022.3.22f1, 2023.2.17f1, 6000.0.0b13)
Not reproduced with: 2.0.1-pre.12 (2021.3.36f1, 2022.3.22f1)
Could not test with: 2.0.1-exp.1, 2.0.1-pre.12 (2023.2.17f1, 6000.0.0b13) (Test Framework throws a compilation error)
Fixed in: 2.0.1-exp.1 (2021.3.36f1, 2022.3.22f1)
Reproduced on: macOS 14.1 (Intel) (by reporter), Windows 11
Not reproduced on: No other environment tested
Note: After entering then exiting Play Mode the previously opened scene is closed and an “Untitled” scene is opened
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Unity Version Control window during "Create workspace" updates only when the mouse is moved
- Crash on AudioMixer::GetFloat when entering Play Mode in a specific project
- Test assembly files are not generated when using a local package included in a subdirectory
- URP Terrain Shaders are always included when building on any target platform
- Multiple errors thrown and Scene/Game view is not rendered when Lighting Override Mask is set to the same layer as the Volume
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/DSTR-1025