IMPORTANT:

All Oculus Quest developers MUST PASS the concept review prior to gaining publishing access to the Quest Store and additional resources. Submit a concept document for review as early in your Quest application development cycle as possible: https://developer.oculus.com/quest-pitch/

For additional information and context, please see "Submitting Your App to the Oculus Quest Store".
Welcome to the Oculus Developer Forums!

Your participation on the forum is subject to the Oculus Code of Conduct.

In general, please be respectful and kind. If you violate the Oculus Code of Conduct, your access to the developer forums may be revoked at the discretion of Oculus staff.

Application.Quit() causes crashing on next app launch

WeitinWeitin Posts: 27
Brain Burst
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.
Wei Tin Yuen, VR Developer  B)
Toronto, Canada
http://tinforge.com/
Tagged:

Comments

  • SlashAndBurnSlashAndBurn Posts: 10
    NerveGear
    edited October 18
    I also noticed this quirk, will try
  • MikeFMikeF Posts: 737
    Neo
    edited October 21
    very helpful, thanks!

    Edit: upon testing this doesnt seem to do anything on quest
Sign In or Register to comment.