Compilation in Unity fails: Type `AstarPath' does not contain a definition for `AutoScan'

Just downloaded A*. I have used it many times before, without any errors, but this time Unity threw that to my face. I haven´t altered any of the code and I don´t even have anything else than AstarPath and minebotAI in the scene from those scripts contained in the A* pack. None of my own scripts alter or interact A* scripts in any way.

If you need some extra info please ask, it´s late in here so can´t really think.

Oh! Yes! Forgot to mention, it doens´t throw any errors during run in the editor. That pops up when I try to compile.

Hi

If you are upgrading, try to delete the AstarPathfindingProject folder and import again. It might be old scripts which didn’t get properly updated by the import.

Done that, installed that pack to an empty project but still not working

Ah, I see. Apparently I had forgot to add an #if UNITY_EDITOR preprocessor directive.
I have uploaded a new version which fixes this issue (and also that the version number was incorrectly set to 3.1 instead of 3.2).

Thanks!

Works like a charm ^^