These are the same sprites which i’ve placed on different locations in the tilemap, however my sprite sorting is behaving completely differently.
Can someone please help me out with this?
These are the same sprites which i’ve placed on different locations in the tilemap, however my sprite sorting is behaving completely differently.
Can someone please help me out with this?
I figured one step towards the solution is that when you place all the ‘Foreground’ or ‘Top’ objects in a single tilemap, all objects you place are grouped together as that one game object.
Therefore depending on the y-axis where you place the same object, the same object gives different results for the rendering order.
I still have no idea how to fix this, but i’m 99% sure that this is causing the issue.
Here’s a concise checklist to resolve sprite sorting issues on a Tilemap in Unity:
z-position
. Adjust using the Tilemap Renderer’s Mode
set to Individual.Edit > Project Settings > Graphics > Transparency Sort Mode
to Custom Axis with (0, 1, 0)
for top-down, or Sort by Y for side-scrollers.z-position
or Order in Layer
doesn’t conflict with the Tilemap’s sorting.Incredible! Thank you so much. I think what helped the most was setting the tilemap’s render mode to Individual.