Unity 5.0.0f4 - Problem in compiler with attributes

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

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

Compiling Vertex program

2:
Assets/AstarPathfindingProject/Core/astarclasses.cs(13,41):
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?

Hi

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