how can i test passthrough in the Unity editor without having to build onto my Quest 2?

as the title says

i’m able to use passthrough on my quest 2 headset - however, i’d still like to experience passthrough while testing within the Unity Editor without having to always create and build and load onto the Quest 2.

Maybe this article could provide you some ideas: https://support.oculus.com/articles/headsets-and-accessories/oculus-rift-s/what-is-passthrough/

link is broken :frowning:

https://support.oculus.com/articles/in-vr-experiences/oculus-features/what-is-passthrough/ Try this~

has anyone solved this yet?

I found this link: https://developer.oculus.com/documentation/unity/unity-passthrough-over-link/

It seemed promising but hours of research and lots of trial and error but Unity only says:

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

A bit late, but if anyone comes across this, the solution is to enable runtime developer settings in the oculus software on windows and toggle passthrough over link. They must have added that recently, I’ve been watching all the tutorials I could find and nothing mentioned it. From now on I start with the official documentation…

4 Likes

Thank you, I eventually realized the issue was that I wasn’t using a USB 3.2 cable.

This worked great! Thanks so much.

Any other steps I might need to do after enabling this? Maybe certain components I need enabled in Unity?
I’ve enabled passthrough over link inside the Oculus Software.
When that didn’t work by itself, I added Spatial Data enabled too.

But, when I’m playing in editor, I still don’t get passthrough in my headset (works on build though).

I’ve been playing with it recently with the newest Meta SDK stuff. After going through all the steps (some checkboxes, a passthrough layer etc.) I was tearing my hair out why it didn’t work. Turns out it only works when you play maximized in the Unity editor. Only for underlay layers though… maybe that can help you too?

I actually got it to work. and I did not need to play maximized. Apparently I had done all the required steps. I just needed to restart unity. Use Passthrough Over Link: Unity | Oculus Developers