Character root motion not being blocked by thin walls

Hi, I’m encountering a problem where my A.I is able to go through walls while using root motion, when it should be colliding with the wall instead. On thin walls it will go straight through to the other side, on thicker walls it will start to overlap but then get stopped halfway through the mesh. I’ve looked through all the documentation on root motion and it all says that it should be affected by physics collisions so I don’t know what the problem is. any help would be appreciated.
https://i.gyazo.com/e32acad1c2f633b8e6fdb359648dca74.gif