Search Unity

Bug virtual camera noise

Discussion in 'Cinemachine' started by zeropointblack, Nov 6, 2022.

  1. zeropointblack

    zeropointblack

    Joined:
    Jun 8, 2020
    Posts:
    197
    when i press ESC the noise keeps moving the camera around away from the real main camera. wobbling around in circles or shaking through the ground depending on the profile. until i click back in. what can be done to resolve this?


    cinemachine noise bug 1.png


    HERE are the settings. its spinning around like CRAZY!!! unless i am actively controlling the player in play mode. i just updated cinemachine and no luck.
     
    Last edited: Nov 6, 2022
  2. gaborkb

    gaborkb

    Unity Technologies

    Joined:
    Nov 7, 2019
    Posts:
    856
    The spin might be caused by your setup.

    CinemachineVirtualCamera should be on a separate GameObject; not on the same GameObject as your Camera and CinemachineBrain.

    For example:
    Screen Shot 2022-11-07 at 8.07.35 AM.png
     
  3. zeropointblack

    zeropointblack

    Joined:
    Jun 8, 2020
    Posts:
    197
    hey that worked!

    i knew it was something like that. cuz thats what i did before, i just thought, "WHY" though. thats cool. thank you.

    edit: i get it though. the whole point of cinemachine is having more than one camera and their interaction, so yeah they need to be separate objects. nice.
     
    Last edited: Nov 8, 2022
    gaborkb likes this.
  4. gaborkb

    gaborkb

    Unity Technologies

    Joined:
    Nov 7, 2019
    Posts:
    856