I've tried to set agent destination using "set agent destination" and "Set agent destination as game object" in both cases agent does move to destination, but when I try to calculate remaining distance using "Get Agent Remaining Distance" in both cases the result is infinity. What am I doing wrong?
p.s. Only when there's less than 10 units to the target, it starts to show numbers.