#Finding a workaround to URP Pixel Perfect Camera Cinemachine Bug

1 messages · Page 1 of 1 (latest)

bleak marlin
#

Have anyone tried urp+2d pixel perfect camera+cinemachine? It's just, it seems that I found a bug, specifically, that if you try to use such a combination, you get cameras fighting each other even though the component, pixel perfect cinemachine one, should prevent that. But it does not. Here's a unity forum thread with additional info and a sample project: https://forum.unity.com/threads/urp-jitter-bug-with-pixel-perfect-camera-and-cinemachine-in-editor-in-unity-2023-1.1334786/

primal willow
#

Jitter with CM is common. This usually happens (in my experience) when the CM Brain update method doesn't match the Update method being used for the movement.

#

Try the various different options available.

bleak marlin
primal willow
#

Have to tried what I suggested?

bleak marlin
primal willow
#

ah well, I can't help any further. Never used pixel perfect camera

#

It would be very useful to people if you posted a video of the issue - more likely to get help that way

bleak marlin
bleak marlin
steady vale
#

I presume you get the same results in game view and made sure its not caused by the simulator @bleak marlin 🤔

#

Also what are you even showing us?
I can see that the camere size changes in the viewport if you hover over/collapse the pixel perfect component but does that also happen during play? What about in a build?

bleak marlin
# steady vale I presume you get the same results in game view and made sure its not caused by ...

yes. also, this is a thing in playmode too, but a bit different, maybe even worse - it seems it shows the smaller camera size but when you click on objects you don't target them with raycast I implemented which means that the game is instead in bigger camera size. Build - I don't know actually, but it is enough for me to get rid of cinemachine if it's impossible to fix this. I would actually do that, I don't need cinemachine that much as I said earlier, I need 3-4 things which I think I can recreate and the most important is fixing the camera size like cinemachine's lens does

bleak marlin
bleak marlin
steady vale
bleak marlin
steady vale