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
- The Up, Down and other Buttons in a Style Sheet's Inspector unselect items when they are clicked while they are disabled
- Virtual Player remains active and still launches when removed from Additional Editor Instances from a custom Play Mode Scenario
- UI Toolkit Editor Window Creator becomes not interactable and greyed out when a long name is entered
- [Web][iOS] Web Player keeps restarting on launch when Native C/C++ Multithreading is enabled
- "Add Scene to Scenes in Build" pop-up reappears after Scene has already been added and another Multiplayer Editor Instance is loaded
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0a8