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
- Caret moves by a character when typing "." and any number into 'Grid and Snap' toolbar's input field
- Missing #pragma directives warnings appear in Inspector when including .hlsl file in Shader
- Fixed Timestep setting gets resets to default when upgrading project
- Console displays "NullReferenceException: Object reference not set to an instance of an object." during Editor Theme change
- Editor interface has low contrast when any theme is used
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.