Skip to content

Installation

Tim edited this page Jan 2, 2022 · 3 revisions

Git Dependency Resolver For Unity

Unity's package manager does not support custom git dependencies, on which the N:Toolkit is heavily relying on. Make sure to first install the Git Dependency Resolver For Unity before any other packages.

See Unity's Package Manager for more infos on how to install packages from git urls.

Installing this package

  1. Open Unity's package manager ( Window > Package Manager )
  2. Click on the + icon ( top left of the window )
  3. Select Add package from GIT url...
  4. Paste this package's git url in the field ( i.e https://github.com/Nebukam/com.nebukam.orca.git )
  5. Wait for it... Done!

Troubleshooting

After installing this package, Unity may complain about missing namespace references error (effectively located in dependencies). What Git Dependency Resolver For Unity does, instead of editing your project's package.json, is create local copies of the git repo effectively acting as custom local packages. Hence, if you encounter issues regarding missing assemblies, try the following:

  • In the project explorer, do a Reimport All on the Packages folder (located at the same level as Assets & Favorites). This should do the trick.
  • Delete Library/ScriptAssemblies from you project, then Reimport All.
  • Check the Resolver usage for users

If everything fails...

Open an issue on git, I'll check if the problem is on my end!

Clone this wiki locally