Search Unity

Question URP target eye for the ui none

Discussion in 'VR' started by yogeshjain026, Dec 19, 2023.

  1. yogeshjain026

    yogeshjain026

    Joined:
    Dec 30, 2021
    Posts:
    1
    In the default Unity pipeline - it's easy to create a scene with a VR camera rig and then create an additional camera as a 3rd person cam that will display on a computer monitor when the .exe is running. This allows one user to see the stereo VR camera rig when wearing the headset while others outside of VR can see the scene from a 3rd person view. To do this I'd just set my additional 3rd person camera to Target eye > None (Main Display) With URP - the camera no longer has a "Target Eye" property. Thus I can't create a 3rd person camera. I tried changing the depth of the camera, but then it overrides the VR camera viewer. Any idea how I can achieve this with URP?
     
  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    5,057
    You need to get additional camera data and then disable 'use XR' or something there to disable the VR view on the spectator cam