Search Issue Tracker
Fixed in 2020.1.X
Votes
1
Found in
2019.3.0a4
2019.3.0b6
2020.1.0a1
Issue ID
1190458
Regression
Yes
Application.quitting and OnApplicationQuit() Callbacks no longer work with Application.Unload()
How to reproduce:
1. Open the attached "Repro1190458.zip" Project
2. Build and run the Project
3. Logcat the device
4. Search for "QuitWorking" keywords in the log file
Expected behaviour: The "QuitWorking" keyword is found in the logs
Actual behaviour: The keyword is not found indicating that the Callbacks do not respond to Application.Unload()
Reproducible with: 2019.3.0a4, 2019.3.0b7, 2020.1.0a8
Not Reproducible with: 2017.4.33f1, 2018.4.11f1, 2019.2.9f1, 2019.3.0a3
Tested Devices:
VLNQA00115, Sony Xperia Z3 (D6603), Android 6.0.1, CPU: Snapdragon 801 MSM8974AC, GPU: Adreno (TM) 330
VLNQA00078, Motorola Nexus 6 (Nexus 6), Android 7.1.1, CPU: Snapdragon 805 APQ8084AB, GPU: Adreno (TM) 420
VLNQA00033, Samsung Galaxy Nexus (Galaxy Nexus), Android 4.3, CPU: TI OMAP 4460, GPU: PowerVR SGX 540
Note: could not reproduce with iPad Mini 2 iOS 12.0.1. On 2020.1.0a8 device opened up, but did not Unload, after touching the screen it crashed. In the documentation, it does not say that Application.Unload() works with IOS, but if you try to use Application.Unload() in editor it tells you to use either Android or IOS device as only these platforms support this method.
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
- Getting a deprecated package for JetBrains Rider pop up when opening or creating a project
- [Android] Volume level of the same audio file is different on Samsung Galaxy Tab A8 between 2023.3.0b3 and 2023.3.0b4
- ‘Expected end of value’ warning occurs when a property declaration includes five or more variable references
- Crash on BurstCompilerService::CompileAsync when entering Play mode in a specific scene
- InvalidOperationException when using Game Camera Preview in Scene window with a custom RenderGraph pass
Resolution Note (fix version 2020.1):
Application.unloading was added in 2020.1.0a24