Search Issue Tracker
Fixed
Fixed in 6000.0.71f1, 6000.3.11f1, 6000.4.0f1, 6000.5.0a9, 6000.6.0a1
Votes
13
Found in
2022.3.62f3
6000.0.68f1
6000.2.14f1
6000.3.1f1
6000.4.0b9
6000.5.0a7
6000.6.0a1
Issue ID
UUM-130495
Regression
Yes
Player hangs when the "Run in Background" is enabled and active window is switched
How to reproduce (estimated):
- Open the “Test-Project.zip“ project
- Open Edit → Project Settings → Player → Resolution and Presentation
- Enable “Run in Background”
- Build and run the project
- Let the project run for a few seconds/minutes
- Switch to another window
- Return to the Player
- Wait a few seconds
- Give any input to the Player (mouse and keyboard) (to ensure that the Player is interacted with)
- Observe the Player
Actual results: Player hangs (continues to render animations, but stops responding)
Expected results: Player continues to function as usual
Reproduced locally in: 6000.2.14f1
Not reproduced locally in: 6000.0.0f1
Could not test locally in: 6000.0.63f1, 6000.2.7f2, 6000.2.9f1, 6000.3.0f1, 6000.4.0a5, 6000.5.0a2 (Unable to reproduce after a few initial successful reproductions)
Reproduced by the reporter in: 6000.2.9f1, 6000.3.1f1
Not reproduced by the reporter in: 6000.2.8f1
Reproduced on: Windows 11 Pro (24H2)
Not reproduced on: No other environment tested
Notes:
- After a few initial successful reproductions locally, the issue stopped reproducing (the reason is unknown)
- The Player hangs without any indication of the reason in the logs
- Steps 6-8 might be optional, as the issue had reproduced without them locally. However, after being unable to reproduce the issue, it would be safer to use the reporter's instructions, because the reporter is still experiencing the issue
Comments (1)
-
MelancholicLynx
Mar 03, 2026 18:34
Tested for this bug in unity 6000.3.2f1 While Run In Background may be a factor, the key that seemed to be the consistent thing was the Fullscreen mode. While I did not test all modes and all resolution settings, when Run In Background was on but the Fullscreen Mode was Fullscreen Window, I did not encounter the bug after clicking in and out of the screen on my main menu. However doing the same with both Run in Background on and off with the Fullscreen Mode as Maximized Window was a consistent factor in the hanging issue. when Run In Background was off the issue seemed to happen less but still did happen, while when it was on the issue happened repeatedly. Removing dx12 from the Graphics API for Windows fixed the issue.
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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note:
Fixed in 6000.6.0a1
Resolution Note (fix version 6000.6.0a1):
Fixed in 6000.6.0a1
Resolution Note (fix version 6000.5.0a9):
Fixed in 6000.5.0a9
Resolution Note (fix version 6000.4.0f1):
Fixed in 6000.4.0f1
Resolution Note (fix version 6000.3.11f1):
Fixed in 6000.3.11f1
Resolution Note (fix version 6000.0.71f1):
Fixed in 6000.0.71f1