Unity 5.0.0f4 - Problem in compiler with attributes

When importing the asset on unity, console shows this 2 errors in the compiler:

Shader error in ‘Hidden/AstarPathfindingProject/Navmesh’: undeclared identifier ‘UnityObjectToClipPos’ at line 53 (on d3d9)

Compiling Vertex program

error CS0246: The type or namespace name `Attribute’ could not be found. Are you missing a using directive or an assembly reference?

I’ve tried older versions of the project but it doesn’t seem to be compatible because of old Api’s or the same “attribute” issue. ¿Help?


The package is supported from Unity 2017.4 and up. You can take a look at this page for some older versions (check the changelog to see when support is dropped): https://www.arongranberg.com/astar/download