The Package Manager can load a UPM packageA Package managed by the Unity Package Manager. Refer to Packages.
See in Glossary from a Git repository on a remote server.
PATH
system environment variable.package.json
file respects Semantic Versioning rules with regards to officially published releases of this package. More infoTo load a UPM package from a Git URL:
Open the add menu in the Package Manager’s toolbar.
The options for adding packages appear.
Select Add package from git URL from the add menu. A text box and an Add button appear.
https://github.example.com/myuser/myrepo.git
(if your package is in the root of the repository).https://github.example.com/myuser/myrepo.git?path=/subfolder
(if your package is in a subfolder within the repository).Select Add.
If Unity was able to install the package successfully, the package now appears in the package list with the label. If Unity wasn’t able to install the package, the Unity Console displays an error message, such as:
Click on an error message link to get some help for it on the Troubleshooting page.
Tip: If you want to check for updates and update your Git dependency to the latest version from the repository, click Update. You can also use the Add package from git URL menu item to update your Git dependency. For information on Git dependencies, see Locked Git dependencies.