Where did the public return value of pathPending go?


#1

I just updated and have a few dozen errors now with things such as pathPending, maxSpeed, SetPath, and others failing. Is there a document somewhere that tells me how to upgrade since functionality was changed? Really wish this stuff was backwards compatible.


#2

Hi

None of those properties and methods have been removed, are you sure there isn’t something else causing issues?


#3

“Type AIPath' does not contain a definition forpathPending’ and no extension method pathPending' of typeAIPath’ could be found. Are you missing an assembly reference?”

maxSpeed is now speed it appears as well. I was a few updates back if that matters?


#4

It should definitely be there, here are the docs for it even https://arongranberg.com/astar/docs/aipath.html#pathPending. Which version are you using? Do you think you can try to re-import the package?
The AIPath script has a maxSpeed property, it has not been changed to ‘speed’.


#5

I downloaded the update via the popup window. PathfindingProject_Pro_WebsiteDownload-5, date of today. Can you check what you have on the website? I just looked at the AIPath code and its called speed, not maxSpeed.


#6

You know what… I just checked and the folder was downloaded today but the unity package is from 2017 that is in the folder…


#7

Oh… looks like you have both 3.x and 4 on the same page… doh!