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
1
Question by Zul · Mar 09, 2016 at 02:28 PM · spritesheetsliceslicing

Sliced Spritesheet appears correctly in Editor, overlapping everywhere else

There's this spritesheet, see? 31 images per column, 2 rows. It's total size is of 6603 x 546.

No matter how i change the sprite in Spriter Pro, or what settings I apply to it in Unity's Sprite Editor, the images will appear as if moving to the right, with some extremities overlapping at times (ie: right end of image 28 appears in left end of image 29).

Sprite Editor shows their rectangles all nice and tidy, no overclipping.

I've tried clipping them automatically, by cell count (31 C, 2 R) and size (213/273), but the same issue occurs. I also tried moving the pivot point; no result.

I exported the spritesheet as individual PNG files from Spriter Pro, so I know for a fact that the correct size is 213/273. I also used custom export box size to make sure each sprite has slightly more empty space around it, increasing the edges by roughly 10 pixels in width/height.

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

2 Replies

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

Answer by Zul · Mar 09, 2016 at 02:33 PM

Write it to yourself and the answer will come to you...

After changing the max size to 4096 for the Spritesheet and unchecking Generate Mip Maps, the sheets seem to show correctly.

Of course, this also means that my spritesheet is 5.3 MB in size, but we'll pass that bridge when we get to it.

Thank you all for the inspiration!

Comment
Add comment · 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
1

Answer by Andreas Loew · Mar 09, 2016 at 04:40 PM

Are you going to use the sprite sheets on a mobile device? You should stay below 2048. 4096 can not be handled by all devices.

How much transparency does your sprite sheet contain? I mean around the sprites? Chances are good that you can compress your sprite sheet by getting rid of that transpareny.

Comment
Add comment · Show 2 · 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 Zul · Mar 09, 2016 at 09:13 PM 1
Share

Yep, mobile it is. Well there is some transparency, however the sprite is not of symmetrical form (the upper-right side stands out further) so I'm not sure how I could get rid of the transparency while also maintaining a $$anonymous$$imal rectangle around the sprite itself.

I plan on trying to increase the number of rows so that the image will, overall, be smaller width, however I'm not sure if that will work for all the spritesheets (one of them is 10168x540; i know, i went too far).

Edit: holy hell, you're the guy behind TexturePack. Good job, man.

Even more edit: Just finished making the sheet 11x6. Still takes up more $$anonymous$$B than i thought (2.8), but it looks and works good on 2048. Thanks for the tip.

avatar image Andreas Loew Zul · Mar 10, 2016 at 09:39 AM 0
Share

Always happy to help :)

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

50 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Why are these 9-slice UI images not showing any borders? 1 Answer

Use sprite slices directly instead of prefabs 0 Answers

UI element large as sliced sprite internal rect 1 Answer

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

Rotate 1 frame of a spritesheet 0 Answers


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