Reproduction steps:
1. Open the attached “BugRepro” project
2. Open the “Assets/Scenes/Level2.unity“ Scene
3. Enter the Play Mode
4. Open the “Assets/Scenes/MainMenu.unity“ Scene while in Play Mode
5. Observe the Console window
Expected result: No errors are thrown
Actual result: Errors are thrown
Reproducible with: 2022.3.60f1, 6000.0.50f1, 6000.1.4f1, 6000.2.0b1
Reproducible on: Windows 11
Not reproducible on: No other environment tested
Errors:
- Cannot set the parent of the GameObject '<name>' while activating or deactivating the parent GameObject '<parentName>'.
- Coroutine couldn't be started because the the game object '<name>' is inactive.