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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0a8