Sprite slice only slicing part of image

I’m attempting to slice a piece of art using Grid by Cell Size or Grid by Cell Count. But the slice just picks some cells of a certain color out of the middle and ignores the rest of the image.

(I’ve tried removing those parts of the image, and then it just won’t slice at all.)

Here’s a screenshot of the sprite editor:

Here’s the source image.

I’ve followed the exact same procedure as with all of my other sprites:

  • Import the image.
  • Set to Multiple.
  • Open the Sprite Editor.
  • Click Slice.
  • Set the parameters.
  • Click the Slice button.

The image is a 32-bit PNG. I’ve also tried importing it as a TGA, and gotten the same results.

What am I doing wrong here?

Thanks!

Hi @RiotWtttch,

I do not know why you are having this problem as I was able to slice denzi-16x16-green.png into 1728 16x16 images with no problem (though it did take almost 5 minutes because it is so many images to slice). Nevertheless I have [83795-slicedimage.zip|83795] which includes the following

  1. SlicedImage.png - this is a screen shot showing the image sliced as well as the inspector settings.
  2. denzi-16x16-green.png - this is your image provided above.
  3. denzi-16x16-green.png.meta - this is the meta file that has the sliced image data (as long as you are using the file name denzi-16x16-green.png you can just copy this file from within Windows to the location where the image is located - note if the file you are using is named differently please let me know and I will fix this).