Unable to Slice Image using Sprite Editor.. why?

I did an online search and it looks like another person also has the same problem, but somebody said it was because the image did not have transparency. My image does have transparency. I’ve also tried different image sizes, blank images, and I cannot slice the image no matter what I try… why?

Texture Type: Sprite (2D and UI)

Sprite Mode: Multiple

Slice Type: Grid by Cell Size

Pixel Size: 256 x 256

(Just FYI I need this done to create a bunch of images to use as Masks to achieve a certain transitioning effect I want)

Unity 5.5.0f3

I can confirm that behavior.
Its not working on 5.5.0f3.
Pressing the slice button does not generate any slices but enables the apply change button so its doing something in the background.
A test on 5.3.4 does just work fine with the same file.
Slice by Cell size or by Count are both affected.

The bug is that black pixels and transparent pixels are ignored. Transparent pixels, we knew that (see Unity Sprite Editor : Include blank/empty cells when slicing? - Questions & Answers - Unity Discussions), but Black pixels is a bug and hard to spot if you only have a black image.

You can make a blue version of your image, slice it, Apply, then re-export your image with the correct, black version. The import settings will be preserved so you’ll still have the correct slicing.

I wanted to send a bug report to Unity but my connection fails. If one of you manages to send a report, tell me here so that I don’t try again in a few days.

What’s the bug No.? It seems this issue repros on Unity 5.6.3f1.

I had the exactly same problem, I try a lot of thing but it didn’t work. Finaly I just increase the size of my picture, and it’s seem to work.

It can be because the sprite sheet size is too big.

If your sprite sheet’s different tiles are scattered try selecting “Sprite Mode” to “Multiple”

4 Likes

It work for me

Thank you Ilumav, this fixed my issue.

Place the sprites further apart maybe, that worked for me