Reproduction steps:
1. Open the attached “Repro“ project
2. Open the “Assets/Scenes/SampleScene.unity“ Scene
3. Open the Test Runner Window (Window > General > Test Runner)
4. Run the PlayMode Tests (“Run All” button from the PlayMode tab in the Test Runner Window)
5. Observe the Game View
Expected result: The Editor returns to the previous Scene with a Cube GameObject in the middle
Actual result: “All tests succeeded“ is seen in the Game View without the ability to return to the original Scene
Reproducible with: 2023.3.0a16, 2023.3.0b6
Not reproducible with: 2021.3.35f1, 2022.3.19f1, 2023.2.9f1, 2023.3.0a15
Reproducible on: M1 MacOS 14.2, Windows 11 (User’s platform)
Not reproducible on: No other environment tested