Search Issue Tracker
Fixed in 2018.2.X
Fixed in 2018.1.X
Votes
2
Found in
2018.1.0a7
2018.1.0b10
Issue ID
1013695
Regression
Yes
[Android][IL2CPP] Application.Quit() crashes the app
To reproduce:
1. Download attached project "Unity_ApplicationQuit.zip" and open in Unity
2. Build and run the project on an Android device
3. Wait till APK closes itself
Expected Result: APK closes itself without a crash
Actual Result: APK closes itself alongside with a crash
Notes:
- Logcat is shared in the comments section
- On iOS everything works as expected
- In Editor everything works as expected
- In Standalone (Windows and OSX) everything works as expected
- If you change IL2CPP to Mono, then everything works as expected
Devices:
- Google Pixel 2, OS: 8.1.0, CPU: arm64-v8a, GPU: Adreno (TM) 540
- iPhone 7, iOS 11.0
Reproduced on Unity 2018.1.0a7, 2018.1.0b10 and 2018.1.0b11
Not reproduced on Unity 2017.3.1p4 and 2018.1.0a6
Regression on Unity 2018.1.0a7
Could not check is this fixed because in Unity 2018.2 project becomes corrupted
Comments (1)
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
BrunoCroci
Jun 18, 2019 10:17
This issue also happens on 2017.4.27f1.
Device tested: Sony SGP511
Android version: 4.4.2
The usual hack `System.Diagnostics.Process.GetCurrentProcess().Kill();` does not work.
Can we expect a patch to fix that on 2017 LTS?