I have applied Box Collider 2D and Rigidbody2D to both of them (Walls and player) even though the player object is passing through the walls.
check if the component is active and be sure to uncheck trigger checkbox.
I have applied Box Collider 2D and Rigidbody2D to both of them (Walls and player) even though the player object is passing through the walls.
check if the component is active and be sure to uncheck trigger checkbox.