Missing Sprite Pixels - Import Settings?

Hi,

I’m using Unity 2022.3.27f1. I also tested with 2022.3.20.

I’ve created this 40px x 40px texture (So you can see it, I changed the color to blue. Also missing pixels with blue color):

I tested with these settings:

  • Changed to different max sizes
  • Changed to different Filter modes
  • Changed to different compressions

Same Problem. Missing pixels.

Am I doing something wrong here?

I’ve looked at the documentation:

But my texture size is 40px x 40px and not 32x32 px.

I don’t know what sort of algorithm Unity uses when it generates the “tight” mesh. You can see what it looks like if you go to the Sprite Editor and hit the Generate button under Custom Outline. You can manually create an outline which includes the corner pixels, or you can use Full Rect.

1 Like