Unity's Sprite Editor not chopping the images neatly?

Hi all,

I have a sprite sheet composed of sprites of 16 x 16 pixels. I use unity’s sprite editor to chop them up to separate sprites and placed them down and this is how they looked:

2425370--166094--a.png

Is there a way to remove all these extra lines showing up in my sprites?

Notes: The image is being imported without generating mip maps, and a “point” filter mode, and the format is ARGB 32 bit.

Thanks

have you checked your image to make sure that there’s no line/image there? And I believe for pixel art, point mode is best, but I could be wrong

Yes it’s in point mode, and yes that line doesnt exist in my sprite sheet. You can tell on that image because that’s the same sprite 4 times, the line is only appearing twice.

Another thing I noticed is resizing the screen removes those extra lines for some of the sprites but adds them to others. I need them to not appear no matter what the resolution is.

you need to find a pixel perfect camera script, it is lying somewhere on the forum, that should fit exactly one pixel in-game to one pixel on screen, getting rid of those weird lines.

I should also mention that it appears to be “bleeding” over from the tile next to it. For example, in that image, the tile to the side is white.

Are your sprites set to True Color? You may also want to go to Edit->Quality Settings and turn off Anti Aliasing for all the quality levels. Another thing you should also try is to make a Material and set it to the Sprites->Default shader and then Tick the Pixel Snap checkbox. Add that material to all your sprite renderers.

Setting it to True Color had no effect.
Disabling anti-aliasing somewhat solved the problem I’m encountering, but now the images “jitter” every so slightly as I move my camera around, and still had occasional lines showing up.
Using a pixel-snap material with anti-aliasing caused the the images to hold still more, but then made the extra lines there no matter how my camera moved (previous, moving my camera would make the lines go on and off). Using it without anti-aliasing caused the occasional lines to be there all the time.

Thats odd. I have sprites that are 16x16 and having True Color, Point Mode, Pixel Snap, and No AA together fixed the same kind of problem for me :frowning: Is your camera moving in Update or FixedUpdate?

It’s moving in update. But I don’t think it’s related to the problem because when I move the camera around in the editor, the problem can be seen.