Is this a bug, or is something actually supposed to make sprites paint all over during animations?

This is weird, and I don’t know what is doing this- so please go easy on me. I was animating a character, and I get onion slices while it is animating? I am using URP, 2D Animation, and Pixel Perfect. Sorry if this is easy, I am used to making 3D games.

8924648--1222853--Screenshot (637).png 8924648--1222856--Screenshot (638).png

Is it because you don’t have the camera set to clear, eg. nothing drawn behind the character?

Try put a big pink sprite behind him and see if the effect goes away.

It goes away with a background- thanks! Still, what causes that? Seems a bit odd.

If nothing touches a pixel fully (100% alpha) then it isn’t defined.

Some systems you’ll get blackness and it’s okay.

Some systems you’ll get what was left from the previous frames.

Some systems you’ll see violent graphical glitching and flickering.

By making the camera fully clear the scene (or skybox it), that defines all pixels.

Same with if its a UI thing and you drop a background behind it.

1 Like