Skip to main content
Inspiring
December 13, 2023
Solved

Querying Meta Quest system settings (for conditional passthrough)

Is there an API method to query the user's OS settings, in particular if they set their Horizon Home environment to immersive or passthrough? My game is immersive so I won't have a passthrough view all the time but during the load screen I'd like to show passthrough but only if the user is coming from a passthrough view.

If anyone knows how this information can be obtained, please let me know. Although I guess it might not be available to the app.

    This topic has been closed for replies.
    SkyppaiAnswer
    Inspiring
    December 14, 2023

    The information is available and can be queried with OVRManager.IsPassthroughRecommended().

    https://developer.oculus.com/documentation/unity/unity-passthrough-gs/#enable-based-on-system-recommendation

    1 reply

    SkyppaiAuthorAnswer
    Inspiring
    December 14, 2023

    The information is available and can be queried with OVRManager.IsPassthroughRecommended().

    https://developer.oculus.com/documentation/unity/unity-passthrough-gs/#enable-based-on-system-recommendation