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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Resolution Note (fix version 6000.2.0a7):
Fixed unwanted OnApplicationQuit calls when Application.WantsToQuit returns false.