Skip to main content
June 26, 2017

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

    June 29, 2017
    Thanks, that worked! Is there any performance impact to using that flag?
    Participant
    September 29, 2018
    Sorry for re-activate this topic.
    I have a similar problem but in Unity instead.
    How could we achieve it in Unity?