Forum Discussion

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

How do I unload libovr without exiting my app?

Hi, I'm working on an application using the native oculus sdk. We allow users to toggle VR on and off at any point. When turning off VR, I call ovr_DestroyTextureSwapChain, ovr_Destroy, and ovr_Shutdown. I'm seeing an issue where this leads to the last frame rendered being head-locked to the display. Ideally, we would like the user to be presented with the oculus home screen or even a black screen. It is only when the application terminates does the user go back to the home screen.

Is there a way to unload the sdk and bring the user to the home screen without terminating the application?

2 Replies

  • Anonymous's avatar
    Anonymous
    Thanks, that worked! Is there any performance impact to using that flag?
  • Sorry for re-activate this topic.
    I have a similar problem but in Unity instead.
    How could we achieve it in Unity?