Error when climbing a wall

Hello,

When my character is climbing a wall every works fine, but when going down it goes underground, not collide against the ground.

Did someone have that problem?

I followed these tutorials:

https://www.youtube.com/watch?v=JpTToFVySbU&t=354s

Thank you.