Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
0
Question by RiotWtttch · Dec 10, 2016 at 08:59 PM · spritesslicing

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:

Sprite slicing bug?

Here's the source image.alt text

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!

sprite-slice-bug.png (275.2 kB)
denzi-16x16-green.png (21.9 kB)
Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by TBruce · Dec 10, 2016 at 09:01 PM

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 attached a zip file 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).


slicedimage.zip (200.1 kB)
Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image RiotWtttch · Dec 11, 2016 at 01:21 AM 0
Share

Thank you very much!

I remain perplexed by the issue, but your help gets me past the immediate blocker. :)

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Unity 5.0 Sprite slicing messes up with much vertices. 0 Answers

sprite skin swap doesn't update until i hit inspector (with video) 0 Answers

Why do my frames drop after adding a square? 0 Answers

do something every time a Sprite is added to the Scene 1 Answer

Why is my sprites imported smaller than the original size (Unity2D)? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges