Hello, I have recently started having trouble with my layer system, as I just imported a new Tiled map using Tiled2Unity as the bridge. I have been able to get the map into unity, and I can put it on the screen perfectly fine, but it always pops up in front of my character instead of behind. This is quite frustrating as I cannot see my character whenever I play the game. I am using a 2D platform (fyi). I hope someone can help me with this. I have just started coding using a tut, and this is stopping me from continuing. (I am using a tutorial from gamesplusjames, and I’m able to do just as he has, even though he’s using an older version of Tiled and Unity, but he is still able to put the map in easily and have it slide in behind his character). Thanks for any future suggestions!
if you are combining UI images and sprite renderer this will cause you much pain, confirm that all your things are using the same component (assume sprite renderer). You can use Z order (transform z axis) to change front/back, or set the order in layer and layers from sprite renderer. if you’re combining both, you’re in for some ‘fun’ and there’s a lot of online help for it but i have yet to find a foolproof solution.
thank you for your suggestion