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

DirectX12

-

How to reproduce (estimated):

  1. Open the “Test-Project.zip“ project
  2. Open Edit → Project Settings → Player → Resolution and Presentation
  3. Enable “Run in Background”
  4. Build and run the project
  5. Let the project run for a few seconds/minutes
  6. Switch to another window
  7. Return to the Player
  8. Wait a few seconds
  9. Give any input to the Player (mouse and keyboard) (to ensure that the Player is interacted with)
  10. 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

  1. Resolution Note:

    Fixed in 6000.6.0a1

  2. Resolution Note (fix version 6000.6.0a1):

    Fixed in 6000.6.0a1

  3. Resolution Note (fix version 6000.5.0a9):

    Fixed in 6000.5.0a9

  4. Resolution Note (fix version 6000.4.0f1):

    Fixed in 6000.4.0f1

  5. Resolution Note (fix version 6000.3.11f1):

    Fixed in 6000.3.11f1

  6. Resolution Note (fix version 6000.0.71f1):

    Fixed in 6000.0.71f1

Comments (1)

  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

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.