0
votes

When starting a project on the sprite, extraneous pixels appear, on the old version of unity, in the same project there was no such problem, please tell me how to solve this problem. (Sprites are on the button).

Here are two screenshots, on the first one on the left how sprites look before the project is turned on, on the right after it is turned on.

The second shows the settings for sprites.

enter image description here

enter image description here

1
Does your sprite have any extraneous pixels? Or is it a clean rectangle?MathewHD
Is this sprite from a spritesheet?Ben Rubin
@MathewHD square sprite, 32 by 32 pixels, background transparentToni

1 Answers

0
votes

I fixed the problem by installing "Use Sprite Mesh" in the component "Image"

enter image description here