08-11-2021 08:30 PM
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.
Solved! Go to Solution.
08-12-2021 07:38 PM
Super cool and I was about to try ARM64 thanks, let me try it and see if it works, I appreciate your feedback
08-12-2021 07:47 PM
I can also confirm that IL2CPP/ARM64 does the trick, I will post my GitHub project tonight for anyone to try it out.
08-12-2021 07:59 PM
Katsuomi you are da bomb! Huge kudos - the "Script Backend" to IL2CPP and enable "ARM64" were what I was missing...
08-12-2021 09:02 PM
I just built my own basic scene - without starting from one of the sample scenes, and got it to work (THANKS KARSUOMI!)... Note that the "Passthrough API" developer page that tells you how to set up the scene seems to omit that you need to add an "Overlay Passthrough" script on a objeect in your scene. Thanks for all your research, folks!
08-13-2021 04:20 AM
Nice to see my bug reports getting fixed
08-13-2021 05:15 AM
I Stopped trying.
Have tried Unity 2019 and 2020
Have tried IL2CPP and ARM64
Have tried Clean project
Have tried OpenGL3 and Vulkan
Have tried Enabling it on the Camera
Have tried adb shell getprop debug.oculus.experimentalEnabled
Still getting a black background and an error in logcat.
08-13-2021 07:37 AM
Final try with 2021.1 seems to have fixed it... @korinVR your tutorial worked like a charm!
08-14-2021 08:50 AM
- IMPORTANT: And change "Script Backend" to IL2CPP and enable "ARM64" Target Architectures only
That worked Thanks!!!!!
FYI: It is working on 2020.16.3f1 as well. With Oculus plugin 1.9.1 and XR 4.0.7
08-14-2021 10:38 AM - edited 08-14-2021 10:38 AM
All,
I ended up creating a new GitHub repo with solutions from everyone here, shoutout to @korinVR for the amazing work and provided solution on target architecture and scripting backend which helped me solve this.
This GitHub Repo has been tested with 2019 LTS and 2020 >
https://github.com/dilmerv/OculusPassthroughDemos
Also I made a YouTube video showing the process step by step:
Thanks everyone and I can't wait to keep testing MR with Oculus Quest 2 !
Dilmer
08-15-2021 02:45 AM
In my project, the OpenXR plugin was automatically set as active. If you're running into issues, do everything in the post marked as solution and then go
Oculus > Tools > OpenXR > Switch to OpenXR
Did a quick test in Gravity Lab
https://twitter.com/MarkSchrammVR/status/1426813781624066057