Skip to main content
korinVR
Honored Contributor
August 12, 2021
Solved

Oculus Integration 31.0 Passthrough API does not work

Has anyone managed to enable the passthrough function?
https://developer.oculus.com/experimental/passthrough-api/

 

I've tried the Oculus Integration 31.0 passthrough sample scenes, but I'm getting the error "Failed to initialize Insight Passthrough. Passthrough will be unavailable." OVRManager passthrough related options are enabled. I confirm I'm using Oculus runtime v31 and OVRPlugin 1.63.0, and the experimental system property is enabled.

 

<uses-feature android:name="com.oculus.experimental.enabled" android:required="true" />
<uses-feature android:name="com.oculus.feature.PASSTHROUGH" android:required="true" />

>adb shell getprop debug.oculus.experimentalEnabled
1

 

It seems OVRP_1_63_0.ovrp_InitializeInsightPassthrough() fails.

    korinVR
    korinVRAnswer
    Honored Contributor
    August 13, 2021

    I've just found the Passthough API only works on IL2CPP/ARM64. It might be one of the pitfalls.

     

    I brought confusion by starting this thread, so I wrote a step-by-step guide to build the passthrough scene.

     

    - Create a new 3D template project with Unity 2021.1
    - Open Build Settings and switch to Android platform
    - Open Project Settings and switch "Color Space" to Linear
    - IMPORTANT: And change "Script Backend" to IL2CPP and enable "ARM64" Target Architectures only
    - Open Project Settings > Install XR Plugin Management and click "Install XR Plugin Management", enable "Oculus" plugin
    - Import Oculus Integration 31.0 (and click "Yes" "Restart" "Upgrade" when dialogs appear)
    - Open the "AugumentedObjects" scene in Assets/Oculus/SampleFramework/Usage/Passthrough/Scenes
    - IMPORTANT: Select OVRManager and enable "Experimental Features Enabled" and "Passthrough Capability Enabled" (I feel the line "Requires Experimental Passthrough Capability enabled in the project settings" below is a bit confusing)

     

    - IMPORTANT: And you need to enable the Quest experimental system property. This property will be reset when you reboot the Quest.
      - Open Package Manager and install "Android Logcat" from Unity Registry
      - Open "Window > Analysis > Android Logcat" (make sure Quest is connected)
      - Select "Tools > Open Terminal" from the top-right button
      - Execute "adb shell setprop debug.oculus.experimentalEnabled 1"

     

    - Back to Unity and "Build and Run"

     

    Now it should work 🙂

    Katsuomi Kobayashi ( @korinVR ) at FrameSynthesis Inc.

    53 replies

    New Participant
    November 9, 2021

    >stop working for Unity builds? I
    me too.

    I'm guessing it's probably caused by the V34 update.
    https://www.reddit.com/r/OculusQuest/comments/qlxynr/psa_all_arpassthrough_apps_are_broken_on_firmware/


    I'm waiting Unity Oculus Integration update.
    I hope this cures it.

    cliv3dev
    New Participant
    November 9, 2021

    Yes, I confirm: the same apk works well (passthrough is working) on a v33 Quest while not working on a v34 Quest... with the message :

    "Failed to initialize Insight Passthrough. Passthrough will be unavailable."

    November 12, 2021

    FYI -- for anyone watching this thread, v34 is available -- and Unity "Oculus Integration" has also been updated. Woot! Build a new project and confirmed that passthrough is back baby!! 🙂  Now non-experimental...

     

    https://assetstore.unity.com/packages/tools/integration/oculus-integration-82022

    Participant
    November 12, 2021

    😀

    KIRUT0
    Participant
    November 13, 2021

    works for me but glitchs when too close out of gardian

     

    New Participant
    December 4, 2021

    Just to put it out here, if your problem isn't fixed by turning on the passthrough option, it might be the post-processing. Turning off the post-processing option in your camera might help. For some reason passthrough doesn't work with it. // Pls fix this, Oculus!

    New Participant
    December 4, 2021

    It seems OVRP_1_63_0.ovrp_InitializeInsightPassthrough() fails.

    December 4, 2021

    Just in case anyone is still having issues with Passthrough -- created a series of blog posts showing how to set it up 🙂 -- love any feedback

     

    http://www.lancelarsen.com/xr-step-by-step-setting-up-mixed-reality-passthrough-for-your-oculus-quest-xr-project-in-unity-2021/

    December 5, 2021

    thats a very clear guide but I'm in v35 and with everthing did corectly, It still not working and my screen is black I don't know what to do

    KIRUT0
    Participant
    December 7, 2021

    is it showing battery dead

     

    KIRUT0
    Participant
    December 6, 2021

    its fine i sent it back lol 

    KIRUT0
    Participant
    December 6, 2021

    turn off auto wake in ur settings if it reboots randomly

    New Participant
    January 10, 2022

    Mark. I came accross the same

    Up and Coming
    April 14, 2022

    Has anyone solved this? I am trying everything in this thread but get error "Failed to initialize Insight Passthrough"

     

    Using Unity 2019.4.31f1
    Unity OVR plugin: OVRP_1_70_0;

    Quest Runtime: 38.0.0.82.728

     

    I have tried building the example project from this git: https://github.com/dilmerv/OculusPassthroughDemos

    But it errors: "Failed to initialize Insight Passthrough"

     

    experimental features are enabled (are they even needed??):

    adb shell getprop debug.oculus.experimentalEnabled
    1
    New Participant
    April 3, 2023

    I'm getting that error with v50.

    Is someone using passthrough with v50 successfully?

    Failed to initialize Insight Passthrough. Passthrough will be unavailable. Error Failure_NotInitialized.<br>UnityEngine.StackTraceUtility:ExtractStackTrace () (at /home/bokken/build/output/unity/unity/Runtime/Export/Scripting/StackTrace.cs:37)<br>UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])<br>UnityEngine.Logger:Log (UnityEngine.LogType,object)<br>UnityEngine.Debug:LogError (object)<br>OVRManager:InitializeInsightPassthrough ()