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

Cinemachine pixel perfect script doesn't work

Discussion in 'Cinemachine' started by vladek1934, Apr 14, 2020.

  1. vladek1934

    vladek1934

    Joined:
    Jun 20, 2019
    Posts:
    2
    For the past few days I've been trying to understand how this whole thing works. And to no avail.

    I have a cinemachine 2.5.0 installed, with URP 7.3.1. There is a pixel perfect camera (experimental) script attached to the main camera, which also has a cinemachine brain. Then there is a virtual camera, which has a Cinemachine pixel perfect extension enabled. Yet when in game, the virtual camera still fights the pixel-perfect 320x180 (32 PPU) resolution. I'm in an absolute abyss of despair since right now, to make pixel perfect camera work, I have to disable the cinemachine pixel perfect extension (the screenshot has it enabled).
    Annotation 2020-04-14 171053.png
    Camera settings on top, VC settings on bot
    Annotation 2020-04-14 171136.png
    Any way to solve this? Am I doing it right, or wrong? Thank you for your time
     
  2. yuanxing_cai

    yuanxing_cai

    Unity Technologies

    Joined:
    Sep 26, 2014
    Posts:
    335
    Hi! There's a known bug where the Cinemachine Pixel Perfect Extension doesn't work if your Cinemachine Brain's Update Method is anything other than Late Update. This will be fixed in the next URP version (both 7.x.x and 8.x.x).
     
  3. vladek1934

    vladek1934

    Joined:
    Jun 20, 2019
    Posts:
    2
    But I've set it to Late Update, yet it still zooms in and out a few times before *stabilizing* if I could call it

    upload_2020-4-15_14-33-50.png
     
  4. yuanxing_cai

    yuanxing_cai

    Unity Technologies

    Joined:
    Sep 26, 2014
    Posts:
    335
    Can you post a video or a gif?