Skip to main content
New Participant
November 14, 2022

Passthrough with XR Toolkit

I want to create a quest application with XR Toolkit and OVR Passthrough.

I think I setup the project correctly, the oculus example works fine and also I can put the OVRRig inside my scene. But if I use a XRRig instead of an OVR Camera rig, the scene environment is black.

XR Interaction tookit 2.0.4

Oculus integration 0.46

This topic has been closed for replies.

4 replies

New Participant
November 14, 2022

I think I found the problem, with the HDR field disabled on the referenced URP Pipeline assets, it works.

brunofantini
New Participant
December 22, 2022

Hey! I have the same problem and do not understand how I should set up my scene to get the OVR Passthrough using Unity XR Toolkit. How did you get it?

Up and Coming
March 23, 2023

I'm also wondering how to use the XR interaction toolkit  with Passthrough, 
do i need to include both XR prefabs and OVR  and have one of the cameras just be disabled or what is the alternatives?

 

brunofantini
New Participant
March 29, 2023

I hope this helps you implementing the passthrough using the unity xr camera rig . I set the Clear Flags of the main camera of the xr origin to solid color and then background color (0,0,0,0). And in the component of OVR Camera RIG you must enable the option Disable Eye Anchor Cameras. Everything works fine including the input of controllers with the xr interaction toolkit. I am Using Unity 2021.1.22f1