I am adding pixel perfect camera to my game. But when I enable it, moving the cursor in and out to game view causes flickers. When I disable it, same problem does not occur. Also, flickering does not happen in play mode.
Btw, I have 2 different versions of Pixel Perfect component. I am using the first one, second one does not work properly. I don’t know why there are 2 different versions of it.
Thanks for the reply. I created this scene which has only camera, cinebench and a sprite and problem still occurs.
I created 2 different projects for 2D and 2D URP. Flickering problem occurs in 2D URP one.
Edit: Since there is no problem in play mode(as far as I know), I can solve this problem by enabling the pixel perfect component in a script. But it is a bit annoying visual bug. I am open to solutions to fix this problem.
Yes, I mean Cinemachine, sorry what I had thought and what I wrote is completely different.
Problem can be repeated with only cinemachine 2d and camera(both pixel perfect component attached) on a 2d URP project. Even if you don’t have any other objects in the scene, edges of the screen flickers.
Hi @OguzhanBozkurt28 , I believe it’s a bug with the Pixel Perfect Camera fighting with the editor scene’s camera. Can you report the issue and attached your project so we can track it.
Hi @P_e_t_a_c_h_e_k , I’ve submitted a fix for this issue. Which version of unity are you on? I’ll update this thread when a new build is published with the fix.