Search Issue Tracker
Won't Fix
Votes
0
Found in
2021.3.41f1
2022.3.40f1
6000.0.13f1
Issue ID
UUM-77261
Regression
No
Editor freezes when entering and exiting Play Mode with Ctrl + P while Play Mode is loading
How to reproduce:
1. Open the attached “Personal Project - Fix.zip”
2. Open the “My Game” Scene
3. Press Ctrl + P to Enter Play Mode
4. Press Ctrl + P to Exit Play Mode while it is loading
5. Observe the Editor Window
Expected result: Editor Window is back to normal and Play Mode is stopped
Actual result: Editor Window freezes indefinitely
Reproducible in: 2021.3.41f1, 2022.3.40f1, 6000.0.13f1
Reproducible on: Windows 11
Not reproducible on: No other environment tested
Note 1: You have to close Unity Editor with Task Manager after the freeze
Note 2: Not reproducible on empty project
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
- Polyspatial Material swap set animations are not firing when used in Play Mode and Players
- Incomplete shortcuts are displayed in the "Set" dropdown in Visual Effects Graph VFX Control subwindow
- Version change sub-window closes automatically when "Add Modules" subwindow is closed
- RenderTexture content from 'Depth Only' camera is not rendered correctly on UI RawImage when Multithreaded Rendering is enabled on specific MediaTek devices.
- Weight Brush Overlay text is clipped in Sprite Editor
Resolution Note:
This is caused by a bug in the project's TextManager.cs script.
The TextManager.Update() method executes an infinite loop:
void Update()
{
<snip>
while (onMainMenu)
{
mainMenu.gameObject.SetActive(true);
}
}
NOTE: onMainMenu is set true via Start() but never set false.
An infinite loop within a script will completely hang Unity.