animCompatibility does not exist in the current context


#1

Just imported the package into 2018.1, and tried to build, getting this error:

  RichAI.cs(502, 23): [CS0103] The name `animCompatibility' does not exist in the current context
  RichAI.cs(502, 50): [CS0103] The name `anim' does not exist in the current context
  RichAI.cs(502, 57): [CS0103] The name `animCompatibility' does not exist in the current context

animCompatibility and anim are variables that aren’t defined or referenced anywhere else.

Commenting out the override method that lines is in makes the project build.


#2

Hi

Doesn’t it exist in the file MiscLegacy.cs in the folder AstarPathfindingProject/Legacy?
I just imported the latest beta package into 2018.1 and it seems to compile fine there.


#3

Ah, I see. I didn’t import the legacy stuff. I assumed it was isolated, and I don’t have any old code from this project, so I skipped it. My mistake.


#4

Yeah I should probably make it completely isolated.