Search Unity

Question Unable to have more than one XR camera?

Discussion in 'XR Interaction Toolkit and Input' started by Mulbin, Jan 16, 2022.

  1. Mulbin

    Mulbin

    Joined:
    Feb 8, 2016
    Posts:
    64
    Hi, I've just switched to XR Interaction toolkit but hit a HUGE problem with development.

    Is it not possible to have more than one VR camera with XR??! I'm working on a space flight simulator so obviously I need multiple layered cameras as this is the standard way of building a space sim - 1 camera rig for the cockpit environment, 1 (or more) camera rigs rendering the space environment outside the window.

    But I just can't get it to function since the switch, now at runtime it literally deletes the CenterEyeAnchor on all but one rigs.

    Please tell me this isn't by design as it makes XR useless for anything but small FPS games.... I don't want to have to go back to VRTK lol
     
  2. DejaMooGames

    DejaMooGames

    Joined:
    Apr 1, 2019
    Posts:
    108
    I am using multiple cameras for my project without issue. Why do you have multiple rigs though? You just need the extra camera so just child it to the main camera and you are gtg.