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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
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.