Unable to access Using Pathfinding;

If anybody is still having the issue where PackageTools doesn’t show up in your assembly list when you try to add it (I was on both Unity 2021.2.8f and after upgrading to Unity 2021.2.16f) here’s a solution:

  1. Install Search Everything (https://www.voidtools.com/) An amazing tool, use it :slight_smile:
  2. Open Search Everything and search for “packagetools.asmdef”. That should show you both the path where the package is installed in Unity and in your project’s Library folder. For instance: (C:\Users\david\AppData\Local\Unity\cache\packages\arongranberg.com\packages\7415c0e8b91dfea70e3ae77547ee353d63125d5a9cd4c\com.arongranberg.astar@4.3.56\PackageTools\PackageTools.asmdef)
  3. Open the PackageTools.asmdef.meta file with your favorite text editor (I used Notepad++)
  4. The second line should be something along the lines of:
    guid: f4059aaf6c60a4a58a177a2609feb769
  5. Copy the guid part (select f4059aaf6c60a4a58a177a2609feb769 and ctrl+c)
  6. In Unity, double-click to open your project’s .asmdef file in Visual Studio. If this doesn’t work, you can right-click that file, select “Show in Explorer” and open it with your favorite text editor.
  7. Add a line under the “references” json section of the form:
    “GUID:f4059aaf6c60a4a58a177a2609feb769”
    IMPORTANT: You’ll need a comma at the end of the previous line.
    My ‘references’ block looks like so:
    "references": [
        "GUID:1491147abca9d7d4bb7105af628b223e",
        "GUID:3b8ed52f1b5c64994af4c4e0aa4b6c4b",
        "GUID:e4ee367787d95d546a38c2d316861fb5",
        "GUID:2665a8d13d1b3f18800f46e256720795",
        "GUID:d8b63aba1907145bea998dd612889d6b",
        "GUID:6bb4f13810e2f7e4eae3ddad3ab89777",
        "GUID:185340934ce1fe54a96b79b146acf2a3",
        "GUID:75469ad4d38634e559750d17036d5f7c",
        "GUID:73106583b323919458c1e05166706ce3",
        "GUID:4c25c05f410a3a447a75c3b0909152ef",
        "GUID:8d9e84799a3968d4ba38c55892d14093",
        "GUID:b3ce3b1a5e761c648944bc4f7dfeaa09",
        "GUID:de4e6084e6d474788bb8c799d6b461eb",
        "GUID:efa45043feb7e4147a305b73b5cea642",
        "GUID:f4059aaf6c60a4a58a177a2609feb769"
    ],

NOTE the last entry is the same GUID in the second line of the PackageTools.asmdef.meta file.
8. Save your project’s ASMDEF file and return to Unity. The change should be picked up, your solution and project files regenerated and reloaded, and VOILA!

Hope this helps!

2 Likes