Forum Discussion
Weitin
6 years agoProtege
Application.Quit() causes crashing on next app launch
I think Application.Quit() on Android doesn't properly remove the app, which causes the app to crash next time you launch it. Use this instead:
System.Diagnostics.Process.GetCurrentProcess().Kill();Just wanted to share since it's easy to overlook. Might be one of the reasons your app keeps stopping.
3 Replies
- SlashAndBurnExpert ProtegeI also noticed this quirk, will try
- MikeFTrusteevery helpful, thanks!
Edit: upon testing this doesnt seem to do anything on quest - laszlo_leberProtege
Weitin said:
I think Application.Quit() on Android doesn't properly remove the app, which causes the app to crash next time you launch it. Use this instead:System.Diagnostics.Process.GetCurrentProcess().Kill();
Just wanted to share since it's easy to overlook. Might be one of the reasons your app keeps stopping.
I've just got my review and I have exactly the same problem. Thank you very much! :)
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 4 months ago