Just tried in-game per your suggestion and it helps a little bit but still fails due to the same reasons which it that the walls are set up with a composite collider which only has a collider on the edge. There are systems that could prevent or deter this, but I didn't allocate enough time to them such as raycasting, setting up multiple collision boxes on the player or designating the wall colliders by hand. But thank you for your comment and suggestion.