Not accepting variables from other projects

Not sure if this is more of a unity / visual studio issue so if it is sorry in advance.

I am using the A* project in one of my solutions, and need to pass a variable from a different project into the AI destination setter, however I cannot seem to get it to accept it. Visual studio says there is no error, but unity says that the type or namespace cannot be found. Whenever I update the references, it reverts them back when I reopen visual studio. if I make the class I am using the variables from a namespace, it says it doesn’t exist.

Any help would be appreciated, thanks.

Hi

Are you sure you have “using Pathfinding;” at the top of your script?
If you are using assembly definition files then you need to reference the AstarPathfinding.asmdef file in your asmdef file.