I tried all sort of means to reproducing that error with the current task and I didnt manage that. How did you? 🙂
Can you please send me a project, that reproduces that?
By the way you can use “Script Control/Get Property” task to get the position of the agent.