Delay calculating the green line path on my game

Hello, im using your pathfinding system in my game, i just follow your grid graph tutorial. Everything is working fine except when i move the target sometimes it takes like 0.5 secs to recalculate and draw the green line, no matter if i put the target close or far from the character. Im using a 100x100 node, i tried with less nodes and its the same. Please help me to resolve this. Thank you.

Hi

Check out the repath rate on the movement script (AIPath).