Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question Cinemachine brain not following priority

Discussion in 'Cinemachine' started by PhantomSphere, Mar 14, 2023.

  1. PhantomSphere

    PhantomSphere

    Joined:
    Jun 9, 2020
    Posts:
    3
    Hey! So, I've been trying to transition between two virtual cameras by altering the priority in one of them, but the problem is that the cinemachine brain is not following this change.

    In the example here I have 2 virtual cameras, VC1 at priority 1 and pointing at a "Camera 1" text, and VC2 at priority 2 pointing at the "Camera 2" text.



    And already at the start, when I enter play mode, the VC being used is VC1, when VC2 has a higher priority. Besides that, when I toggle the VC game objects being active and the camera brain transition between them, you can see that in the game view the transition is being instant, but in the scene view the camera has a blend between them.

    So my question is what is causing the brain to not follow the VC with the higher priority? And why is the blend in the game view not the same that it should be as it is seen in the scene view?
     
  2. PhantomSphere

    PhantomSphere

    Joined:
    Jun 9, 2020
    Posts:
    3
    Solution found, it turns out the virtual camera objects are not supposed to have a Camera component. Removing it fixed all the weird beahviors.
     
    Gregoryl likes this.