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.
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!
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.
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.