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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
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?