The AI doesn't follow the path

Hi!

I have a slight problem with the pathfinding in my current project.

It happens to be that my pathfinding AI doesn’t really do what it should, I have followed tutorials and yet something is still wrong. The most annoying part is that it has worked before but simply doesn’t right now.

The problem I have is that the AI calculates a path correctly but then just ignores to follow it and walks another route (see picture), and usually gets stuck in colliders.

Link to the picture:
http://imgur.com/VsemzkH

I would really appreciate any help that can be given, I will also upload the movement script when I have access to it (not at the computer with the files atm).

Thank you in advance.

Hi

Are you using any path modifiers?
The movement script will likely have some parameter for how closely to follow the path, but it varies depending on the movement script.

If you really want the character to follow the path exactly you can use this script: http://pastebin.com/tAsRFKyF which I have not yet included in the project, but it is fully usable.