Search Issue Tracker
Active
Fixed in 6000.2.0a7
Under Consideration for 2022.3.X, 2023.3.X, 6000.0.X, 6000.1.X
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
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
- Tooltip messages should be presented in human language not in code strings
- [Linux] Editor doesn’t auto reload when an Asset is imported or a Script is changed
- MouseDownEvent is triggered when changing from Scene view to Game view
- "GlobalObjectIdentifierToObjectSlow" returns Null when retrieving "GlobalObjectId" from GameObject inside a Prefab
- Shader is invisible in the Build when using BiRP on Meta Quest 2
Resolution Note (fix version 6000.2.0a7):
Fixed unwanted OnApplicationQuit calls when Application.WantsToQuit returns false.