So I have my game set up to use an empty object in the hierarchy to “house” 4 characters for a party.
They follow each other while the game is running. I set the pivots in each sprite of every animation, and set the URP setting as so.
However I still get one guy standing on another’s head.
If I am understanding what I read in a couple other threads correctly, this is happening because the sprites are in the parent object “Party” and so the engine is ignoring the pivot sorting and defaulting to the parent’s selection. Is there a way to correct this without having to tear down everything and start my party system anew? I tried putting a sprite renderer in party and changing it to pivot, but that did not work.
Something else I just thought of that is honestly quite likely the cause, just putting this out there for record. I recall when I started this particular project I started it in 2D core. Early on however, I followed Unity’s instructions on changing it to 2D URP (link below).
It was #2 of your recommendations that solved this issue for me. A simple rookie mistake I am sure, but I am a rookie. I could have sworn I did that when I changed over, as the instructions CLEARLY state to do so, but I must have missed a step.