Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Question Strange warping effect with Cinemachine 2D virtual camera

Discussion in 'Cinemachine' started by baozbao, Feb 22, 2024.

  1. baozbao

    baozbao

    Joined:
    Jul 15, 2020
    Posts:
    7
    Hi, I am experiencing the exact same problem mentioned in this post

    https://gamedev.stackexchange.com/q...h-unity-tilemap-and-cinemachine/157021#157021

    The Mario above in the gif is what my background sprite looks like when I move my player


    The post mentioned using pixel pixel-perfect extension to fix it, but I have been using it, the problem still here.

    The background sprites are 16*16 with a PPU of 16. No compression, Point
    And below is my main camera + virtual camera setting: V2.9.7
    upload_2024-2-21_23-15-3.png upload_2024-2-21_23-15-16.png

    Pretty much just default cinemachine setting, the problem occurs when I started using virtual camera while my player is moving.

    Thanks for any tips and suggestion in advance upload_2024-2-21_23-15-3.png
     
  2. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,829
    You need to have the PixelPerfect component on the main camera.