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
7000.0.0a1
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
- Crash on AudioMixer::GetFMODChannelGroup when entering Play Mode in a specific project
- Prefabs with "Flags" enum properties result in "IndexOutOfRangeException" when trying to commit/revert
- The Camera first person mode in Cameras overlay is greyed out and not clickable when the Editor is restarted with the Game View focused
- Scene View doesn't select the Canvas when it's clicked with the View Tool
- Transform fields are impossible to edit when Inspector window is resized
Resolution Note (fix version 7000.0.0a2):
"Application.isFocused" returns "false" when entering the Play Mode with the Game window set to "Play Unfocused"