Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
ForliForge's avatar
ForliForge
Explorer
4 years ago

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

4 Replies

Replies have been turned off for this discussion
  • I think I found the problem, with the HDR field disabled on the referenced URP Pipeline assets, it works.

  • 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?

  • SoundGuy's avatar
    SoundGuy
    Start Partner

    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?

     

  • 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