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
- Joint Physics result in unexpected behaviors when used for articulated vehicles like buses or trucks
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts which worked with TMP Font Asset Creator
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.