Search Issue Tracker
Fixed in 2022.1.X
Votes
2
Found in
2018.4
2019.4
2019.4.28f1
2020.3
2021.1
2021.2
Issue ID
1344918
Regression
No
OnApplicationPause pauseStatus is incorrect after losing focus on macOS
Reproduction steps:
1. Open the attached project
2. Open SampleScene
3. Enter play mode. Note that "OnApplicationPause(false)" is logged to the console
4. Pause play mode
5. Click on the desktop or another program to cause the Editor to lose focus
6. Click on the Editor to refocus it. Note that "OnApplicationPause(true)" is logged to the console
7. Exit and re-enter play mode. Note that "OnApplicationPause(true)" is logged to the console
8. Click on the desktop or another program to cause the Editor to lose focus. Note that "OnApplicationPause(false)" is logged to the console
Expected result: OnApplicationPause pauseStatus is true while the editor is not focused and false when it is
Actual result: After losing focus OnApplicationPause pauseStatus is incorrect until losing and regaining focus again
Reproducible with: 2018.4.33f1, 2019.4.28f1, 2020.3.13f1, 2021.1.13f1, 2021.2.0b1
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
- [Asset Bundles] A new bundle hash is not generated when the name of a serialized field is changed
- Icon section shows incomplete message and unusable check box in Build Profiles and Player Settings window instead of “Not applicable for this platform” for Dedicated Server Platform
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
- [Windows] No minimum “Select” window size
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0a8