Is anyone else seeing flickering and / or corrupted sprites when using the 2D Sprite Renderer in Unity 5.6.0 B3? I have the Draw Mode set to “Simple”, the flicker happens in both the scene view and the game view.
I have checked the individual sprite frames and they are all fine. It seems to be something to do with the “Simple” draw mode as the corruption goes away if I select “Sliced” or “Tiled”
NB: I am using TexturePacker, but that does not seem to be the problem as the sprites are positioned and clipped correctly they just don’t display correctly.
After a bit more investigation I think this is an issue with TexturePacker 4.3.3, Green sprite below is frames just dragged directly into Unity, Red sprite is using the TexturePacker Unity Texture2D Sprite Sheet.
Hi, I have already contacted Andreas both on Twitter and via the Code+Web support page. I could be wrong, I have had other weirdness with Unity and 2D sprites recently, but it would be good to see what Andreas thinks could be happening. Thanks for the reminder Sir, much appreciated.
I’ve had a look on one of Coulter’s flickering sprites (Spaceman_JUMP_0008), for this sprite TexturePacker Importer calls Sprite.OverrideGeometry with 8 vertices and 6 triangles. Unity 5.6.0b4 doesn’t render all triangles, only 4 triangles are displayed:
I am not sure if this is related but 5.6.0 B4 is also showing glitches like this on 2D sprites, its seems to be displaying a skewed view of the whole atlas where it should only be showing the frames from the animator.
I have looked at this again this morning and as of right now I can not find anything that makes this happen, it just seems to show up once in a blue moon along with the other sprite flickering bug. I will keep looking, if I find something repeatable I will submit a bug with the steps to reproduce.