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
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
- Channel remapping dropdown in the Terrain Layer does not open when clicked on the title
- The Editor freezes indefinitely when a large number of elements are entered in the Subgraphs or Categories lists
- Some Visual Effects package Assets links to documentation are not working
- Heatmap asset’s documentation button in the Inspector window leads to “Sorry... that page seems to be missing!” page when clicked
- Crash on MonoBehaviour::CallMethodIfAvailable when performing various actions
Resolution Note (fix version 6000.2.0a7):
Fixed unwanted OnApplicationQuit calls when Application.WantsToQuit returns false.