Cannot reference A*PP's assembly definition (project-breaking issue)

Hi. I’m switching my project to assembly definitions, and most of it seems to work as expected, except one thing. I cannot (no matter what I do) reference MonoBehaviourGizmos, and by extension, anything derived from it. I tried referencing all A*PP’s asmdefs but none of them work. The suggestion I get by my IDE is:

The type ‘Pathfinding.Drawing.MonoBehaviourGizmos’ is defined in an assembly that is not referenced. You must add a reference to assembly ‘Drawing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’.

This is breaking my project completely and I cannot keep working. Please, is there any solution for this?

Hi

That asmdef file is called ALINE.

You must add references to these asmdef files:

    AstarPathfindingProject
    PackageTools
    ALINE
2 Likes

Problem solved. I referenced the Drawer from ALINE, instead of A*PP