Cinemachine hates the clamping, apparently, and jitters around all over. Sadly, at the moment the only solution I've found was to literally copy the the entire URP package out of the package cache (which removes the ability to update it) and manually comment out line 194 of the PixelPerfectCamera script which snaps all renderers and the camera in the scene to the pixel grid. I have the same problem and it's known to the devs (check the linked thread in my post). It does not matter what value I write in any field, which update method I use, whatever, the result is always jittering.ĮDIT: I'm using the 2D Renderer of URP in Unity 2020.2. With Option B, it jitters all the time, although it seems the position of everything is correct in the world, but not at the moment of rendering. So this option may be the same as no pixel perfect component. I see a yellow banner appears in the inspector telling me this component is not compatible with Cinemachine, and I have to say it seems it is not doing anything, no pixel perfect effect and some rare white dot artifacts when executed in a build. With Option A, everything is perfect, the object is always at the center of the image, no jittering. Its velocity is constant, and the framerate is constant. In both cases, PPU: 4, Resolution: 1920x1080, all checkboxes ON.Option B: Pixel Perfect camera (experimental) that comes with the URP.
0 Comments
Leave a Reply. |