Does anybody know what is happening here?

I have a cursor sprite in my GUI to help show what your mouse is hovering over or what you have selected, and its using a sprite sheet that has been split with unity’s sprite editor. For whatever reason when the cursor is positioned at various locations I can see a sliver of the next frame in the animation to the left of the cursor sprite (its on the left due to being flipped in the editor otherwise it would be on the right)

Does anybody know why this is happening and how to fix it? Its only showing up in the game view and not the editor window, and I’m at a complete loss at how to fix that visual bug.

[Edit: forgot to attach a gif of what I am referring to]

Damaged image, can’t see it above.

Sounds like an issue with either filtering bleeding over, or having insufficient empty buffer area around the edges of each animation frame.

I have the filter set to none, but I guess i can attempt to add more wiggle room between the sprites

Also, forgot to add: if you are using compression, artifacts can spread over a larger area than just 1-2 pixels and bleed into an adjacent sprite.

Not using any form of compression but thanks for the tip, also adding more wiggle room was the answer, thanks!

1 Like

can also test if TextureWrap mode: Clamp helps