Search Issue Tracker
Fixed
Fixed in 2021.3.43f1, 2022.3.43f1, 6000.0.16f1, 7000.0.0a2
Votes
0
Found in
2021.3.39f1
2022.3.34f1
6000.0.8f1
Issue ID
UUM-74498
Regression
No
"Application.isFocused" initially returns "true" when entering the Play Mode with the Game window set to "Play Unfocused"
How to reproduce:
1. Open the “LayoutFocusIssue.zip” project
2. Open the “SampleScene”
3. Activate the “Game” window and put it into “Play Unfocused“ mode
4. Enter the Play Mode
5. Observe the Game view
Expected results: The Game view window starts as unfocused and the text in the Game window is “false“
Actual results: The Game view window starts as unfocused but the text in the Game window is “true”
Reproducible in: 2021.3.39f1, 2022.3.34f1, 6000.0.8f1
Reproduced on: Windows 11 Pro (23H2)
Not reproduced on: No other environment tested
Note: This occurs on multiple Game view windows as well, when they are all put into “Play Unfocused“ mode
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
- "Line breaking recursion max threshold hit" error when Overflow is set to Ellipsis with fonts missing the ellipsis character
- “Unable to load projects” message is shown in “Add project from repository” window when "All organizations" are selected in the Account menu
- DX12 Player brightness changes when changing Display resolution with Screen.SetResolution()
- Double-sided arrow mouse cursor does not appear when resizing the Player and Input backend is set to Input Manager (Old)
- Project disappears from the Projects list in Unity Hub when the Editor crashes
Resolution Note (fix version 7000.0.0a2):
"Application.isFocused" returns "false" when entering the Play Mode with the Game window set to "Play Unfocused"