Oculus Quest + second screen

I’m developing an application that should run on desktop and connect to the Quest via Oculus Link.
For this application I need 2 outputs:

  • Desktop monitor: Simple camera [DesktopCamera] with screenspace UI Control panel
  • Quest HMD output [XRRig]

I used this approach:

  • DesktopCamera is set with a Target Display 1

  • XRRig MainCamera is set to Display 2

  • Screen Space Canvas is set to Display 1

  • At Start I activate all monitors following this

I have 2 monitors on my desktop.
When the .exe application starts, it correctly renders ScreenSpace UI on monitor1, and the Quest output on monitor 2.
Is this the only configuration possible for a setup like this? Do I need 2 monitors, or there is a way to use only one monitor on desktop and use the Quest as monitor2?

You can render the main camera as normal for VR targeting display 1, and then make an additional camera for display 1 with a higher depth value

1 Like

Hi mikerz1985, I didn’t get the meaning, sorry.
I’d like to have this output when I start the application:
One desktop monitor has the screenspace camera
The OculusQuest camera is rendered only inside the Quest headset, NOT also on my second desktop monitor.
I’m using URP.

Thanks

hi @beatdesign ! I need to do exactly the same thing. Did you get it working?

Maybe change your PC main and secondary monitors configuration assuming you are on Windows. For me, sometimes if a unity tab in open on the secondary monitor when play testing it leads to the issue described above.

If not that, maybe cross reference your current project configuration with the unity XRTK docs