Search Issue Tracker
By Design
Votes
0
Found in
2020.3
2020.3.26f1
2021.2
2022.1
2022.2
Issue ID
1395478
Regression
No
Editor stuck on loading scene when entering Play Mode
How to reproduce:
1. Open the project "repro project.zip" from the google drive link
2. Open Assets > Scenes > Game.unity
3. Enter Play Mode
Expected result: Play Mode loads
Actual result: Play Mode doesn't load
Reproducible with: 2020.3.28f1, 2021.2.10f1, 2022.1.0b8, 2022.2.0a4
Couldn't reproduce locally: 2019.4.35f1 (can't resolve console errors)
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note:
Hi, this is easily fixed by removing the while loop in PlayerShip.cs line 160.
Its setting the pitch spaceshipSound.pitch infinitely.
You have created an infinite loop, removing this loop resolved the problem.
Try and attach the debugger to your project and it should be pretty clear what is going on.