I suggest to add a Physics Material 2D with friction set to 0 to the player object's rigidbody in Unity, that way the player will slip off the walls instead of hanging on them
thanks for the suggestion! I’ll try it out!