Search Issue Tracker
Fixed
Fixed in 6000.2.0a7
Votes
0
Found in
2022.3.58f1
6000.0.38f1
6000.1.0b6
6000.2.0a3
Issue ID
UUM-97654
Regression
No
"OnApplicationQuit" is called when "Application.wantsToQuit" returns false
Reproduction steps:
1. Open the attached “IN-93668” project
2. Build and Run the project (File > Build And Run)
3. Uncheck the “Allow Application Quit” checkbox
4. Try closing the Player window
5. Observe the console
Expected result: “OnApplicationQuit” is not called or documentation to be updated on when “OnApplicationQuit” is called
Actual result: “OnApplicationQuit” is called
Reproducible with: 2022.3.58f1, 6000.0.38f1, 6000.1.0b6, 6000.2.0a3
Reproducible on: Windows 10
Not reproducible on: No other environments tested
Comments (1)
-
Polarsky42
Nov 05, 2025 07:05
Happy to see it finally resolved in ver. 6. Can I expect this will also be fixed in 2022.3.x?
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
- Reflection Probe “Probe Scene Editing Mode:” text is barely visible
- [HDRP] Game view doesn’t refresh after changing Camera Background Type until mouse moves over it
- Some Shaders appear twice in Material Shader selection menu
- Editor freezes with a StackOverflowException when certain asset types are assigned to a managed component in a SubScene via AddComponentObject
- Text Script Importer Reference button links to a Missing Page when clicking the Reference Button in the Inspector
Resolution Note (fix version 6000.2.0a7):
Fixed unwanted OnApplicationQuit calls when Application.WantsToQuit returns false.