weird blocky artifacts in sprite

,

Hey all,

I made this heart sprite in Aseprite and it exports fine, but in the Unity editor it has this weird blocky discoloration artifact. I attached the sprite
9870492--1422696--heart1.png
and a screenshot of what it looks like in Unity (middle), Aseprite (right) and another image viewer (left).
9870492--1422693--upload_2024-6-3_17-35-38.png
I'm using Unity 2022.3.7f1 and the sprite is attached to a UI Image and appears weird all throughout the Unity Editor.

Does anyone have any idea what might be causing it?

btw, the heart plays an animation. all frames of which are rendered the same (bottom is Unity Inspector)
9870492--1422705--upload_2024-6-3_17-57-48.png

When importing pixel art sprites, the usual guidance is to

  • Set filter mode to Point
  • Disable Compression
  • make sure the Max Size is at least as big as the biggest dimension (width or height) of the input image.

9870513--1422714--upload_2024-6-3_8-14-49.png

1 Like

oh.
Step 2 did the trick.
Why it would compress a 32x32 png is beyond me, but thank you very much.


You need to make the decisions on what you want to do with each texture, changing the importer from its default as you please.