AI Root motion and Path Finding


I have a AI character driven by a root motion controller through a behaviour tree. At one point, the behaviour tree tells the AI to search for the closest point, which meets certain parameters (basically it will tell it to look for cover) and move to that point.
Very often, however, it seems like the AI completely loses its way and moves to a random point in the level and then starts rotating around it while getting stuck in the MoveTo node.

This does not seem to be happening with other types of movement around the map (patrolling or investigating noise or visual cues).

Also, the problem disappears when I use non-root motion movement.

The reason for using root motion is that it’s way easier to set up to look good.

Did anyone experience this kind of behaviour?