Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

Cinemachine fighting with Pixel Perfect Camera

Discussion in 'Cinemachine' started by Egg0, Nov 10, 2019 at 3:44 AM.

  1. Egg0

    Egg0

    Joined:
    Jul 31, 2019
    Posts:
    1
    With pixel perfect and cinemachine both installed in my project, it seems to work ok when I press Run In Edit Mode but the zoom level of my cinemachine virtual cameras are overrided by pixel perfect when pressing the Run button. I added the Cinemachine Pixel Perfect extension to the cameras and it didn't seem to fix anything.

    Is it possible to make cinemachine control camera zoom while still using pixel perfect?

    Versions: Unity 2019.3.0b10, Cinemachine 2.3.4, 2D Pixel Perfect 2.0.2
     
  2. yuanxing_cai

    yuanxing_cai

    Unity Technologies

    Joined:
    Sep 26, 2014
    Posts:
    215
    The Cinemachine Pixel Perfect extension will try to correct the ortho size from the active vcam so that you can still get a pixel perfect image, the corrected size is close to the original but it's not the exact ortho size you type into the inspector of the vcams.