So i have some custom tiles in my game that are larger than the size of the cell i only have a single tilemap for all tiles.
So what happens is that the sorting of same type of tiles is happening as it should but when i have the two tiles above each other the sorting is not working correctly like
I have tired all the sorting orders in tilemap renderer but could not fix it .
Any help is appreciated. Thanks.
Edit 1:I have all tiles in a single tilemap.