- Home /
Unity 4.6 and up have broken my sprite layers. How to fix?
The problem is explained in detail on this unanswered forum post, with more illustrations: http://forum.unity3d.com/threads/unity-5-pixel-scaling-issue.318553/#post-2067025
The basic problem is, I am building sprites out of layers using sprite sheets for each layer. The sheets are all the same size, and the layers are positioned on top of each other at the exact same coordinates. But when they are drawn in Unity 4.6 and higher, they no longer scale consistently. Pixels now bleed through from the lower layers depending on the screen resolution and camera position.
How it used to look, all layers aligned and scaled properly:
How it looks now, the incorrect pixels are scaled differently on the layer below and showing through (circled):
Answer by aitchest-of-dees · Jun 20, 2015 at 07:58 AM
Thanks goes to Reddit user drakfyre for figuring this out: http://www.reddit.com/r/Unity3D/comments/3a1kt7/does_anyone_know_when_these_2d_features_9_slice/csb6jzv
Select your sprite resources
Change the Texture Type to "Advanced"
Change Mesh Type from "Tight" to "Full Rect"
Your answer
Follow this Question
Related Questions
How to make paint coloring game in unity and COLOR specific part of image 0 Answers
How to attach objects with a hinge on collide 0 Answers
Scene overlapping on real device 1 Answer
Why Does it not Reset levels? 0 Answers
How can I stop input from registering inside my game when I am dragging status bar from the top? 0 Answers