Hi! I'm new to Godot and this is my first post on the forums. Godot is my first "proper" game engine and GDScript is the first non-visual scripting language I've ever taken a deep dive into. I look forward to meeting the community and receiving your support.
I've been having a few odd layering issues with my game project. I've been putting it together while also following along with Heartbeast's action RPG tutorial series, following basically the same steps and only making changes where I feel them necessary for how I want to do my game.
In my tutorial project, layering is working as expected, but in my own game, despite following the same steps, some strangeness has been arising. The player scene's collision polygon is rendered underneath its sprite no matter how I arrange them in the node tree. Perhaps even weirder, this is restricted to the player scene - I made an enemy scene in the same way, and layers work as expected in that.
More importantly, though, YSort doesn't seem to be working. The player and enemies are all currently children of a single YSort node, as normal, but the YSort node is itself a child of a CanvasLayer node - I'm trying using CanvasLayer nodes to sort things on the screen, keeping characters above the terrain, the HUD above characters, etc. Might this be causing my YSort problem? If not, what could be? Could it be whatever is causing the player layering issue? Is it simply a bug in Godot?

