Meshes and sprites, view order problem.

I’m using Tiled along with TIledToUnity to make a 2D overview game. I’m having an issue where a sprite (the player for example) is only showing on top of the very bottom layer in my map. The Tiled2Unity tool actually has a handy feature where it embeds the ability to change the sorting order within the Unity editor, which does seem to work. But even with the sorting later at a higher index than my player the player sprite still becomes hidden.

What’s weird is that when meshes are on layer 0 my player is over them properly. But, I can’t put all meshes on layer 0 because they won’t be shown properly.

1895643--122080--ANNOYING.png

I actually just resolved the issue. If I use negatives to sort it seems to overlap properly. Can this be explained? I’d prefer to not have to manually edit all of my sorting orders to negatives.

1 Like