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
- Font character thickness does not adjust properly in UI Toolkit text when changing Bold Weight in Font Asset
- Multiple "[...] is inaccessible due to its protection level" errors are thrown when opening project with Unity Version Control installed
- Sorting icons are tiny and misaligned in Import Activity window
- The Undo system does not record HideFlags.HideInHierarchy changes
- [Linux] Bug Reporter window is in Light mode when the Editor theme is Dark mode
Resolution Note (fix version 7000.0.0a2):
"Application.isFocused" returns "false" when entering the Play Mode with the Game window set to "Play Unfocused"