Search Issue Tracker
Active
Under Consideration for 2021.3.X, 2022.3.X, 6000.0.X
Votes
1
Found in
2021.3.44f1
2022.3.47f1
6000.0.21f1
Issue ID
UUM-87270
Regression
No
Value of the "OnApplicationFocus" is "True" when Player loses the focus before it launches
Reproduction steps:
1. Open the attached "repro_IN-84443" project
2. Go to "File -> Build Settings..." (or "File -> Build Profiles" on Unity 6)
3. Add "Scenes/SampleScene" to build index
4. Press "Build" and wait for the build to finish
5. Double-click the built .exe
6. While it's loading (before the splash screen appears), focus a window of any other application
7. Once the Player launches, in the File Explorer, go to "C:\Users\[user]\AppData\LocalLow\DefaultCompany\Focus" and open "Player.log"
8. Observe the value of "OnApplicationFocus"
Expected result: The value of "OnApplicationFocus" is "False"
Actual result: The value of "OnApplicationFocus" is "True"
Reproducible with: 2021.3.44f1, 2022.3.47f1, 6000.0.21f1
Reproducible on: Windows 10 (22H2)
Not reproducible on: No other environment tested
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Linux] Input.mouseScrollDelta is inconsistent when limiting framerate
- Undoing the branch rotation resets only wireframe and not mesh when undoing the action first time after launching the project
- Asset Bundles retain their previous hash and CRC values when an object within a bundle is changed and rebuilt
- APV Reflection Probe Normalization breaks when SSGI is enabled
- Default Custom Components in project have Library counterparts
Add comment