Search Unity

Camera help

Discussion in 'Editor & General Support' started by ToxicSeaSponge, Sep 11, 2018.

  1. ToxicSeaSponge

    ToxicSeaSponge

    Joined:
    Sep 25, 2017
    Posts:
    6
    Hi,
    So I have three cameras in the scene, one attached to the player controller, the main camera and one that hangs above a quest post. As I was building it and trying it out it worked that the player controller camera activated first and then I clicked e on the quest board which switched to the quest camera. I launched Unity today, without changing anything, and it immediately launches the game in the quest camera. I had to uncheck it the switch back to the player cam.
    Can someone help explain why that happened and how to fix it please.
     
  2. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    If all the cameras are targeting the same display or buffers then you should have only 1 of them active at a time. You should be managing in your game code which one of those cameras is the active camera.
     
  3. ToxicSeaSponge

    ToxicSeaSponge

    Joined:
    Sep 25, 2017
    Posts:
    6
    Thanks, I realised soon after this that the quest board cam was always selected and that's why it just jumped to it instead of the first person cam.