I'm having a really odd issue with my rpg game (solid objects working partially)

I don’t know if this is the right place to talk about this, but I can’t seem to fix my problem. I’ve tried asking others and they couldn’t too. Basically I’ve added solid objects to my 2d game but they seem to work partially as in the player can overlap either the upper or the lower part of them depending on the sorting layers I put: he basically goes over part of them.

The code doesn’t seem to be the issue, I think it resides on the sorting layer.

I’m willing to share everything as long as I can get it fixed, even on Discord if someone kind enough can help me.

I’m not sure what you’re saying. Are you saying the sprites are drawing in the wrong order, or are you saying that the player is not colliding with the statue properly?