How to make changes to source?

I imported as a unitypackage originally, but I’d like to make some changes to the source code for my own purposes. How do I do this without causing any headaches? This was what I tried:

  • Create a new git repository that is the contents of the AstarPathfindingProject folder
  • remove the Packages/AstarPathfindingProject folder
  • Add that git repository as a submodule at Assets/AstarPathfindingProject
    After doing that I see this error message on the Pathfinder Component:


Importing as a UnityPackage should still allow you to make changs to the source, wouldn’t it?