Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
deanroskell's avatar
deanroskell
Honored Guest
8 years ago

App crash on exit via Oculus Menu

We're getting a crash on exit when exiting the application by using the exit app button in the Oculus Menu. 

Pressing the X on the app window does not cause it.

  • The crash results in the usual Windows error: 'Application has stopped working <Debug> <Close Program>'
  • Oculus Appl reports: App Failed to Close - The app you're running wasn't able to fully shut down. if this leads to performance issues in VR, you want to manually quit the app or close any windows associated with it on your desktop.

Tested on build that hasn't been submitted to Oculus store

Unity 5.6
Oculus SDK 1.16.0

2 Replies

Replies have been turned off for this discussion
  • Tested this by uploading a build and installing it through Oculus Home and I still get a crash on exit. The app performs perfectly apart from that.

  • Figured out the reason. 

    We were blocking the application from quitting while we saved session data by using a coroutine. I re-coded the solution to work in the update loop and not a coroutine and the crash went away.