The Package Manager can load a package from anywhere on your computer even if you saved it outside your Unity project folder (for example, if you have a package called com.unity.my-local-package and you save it on the Desktop
but your Unity project is under the Documents
folder).
You can also use a folder inside your project folder, provided that it is not one of the reserved project sub-folders.
To load a package from your local disk:
Open the Package Manager window, if it’s not already open.
Click the add button in the status bar. The options for adding packages appear.
Select Add package from disk from the add menu to bring up a file browser.
Navigate to the folder root of your local package.
Double-click the package.json
file in the file browser.
The file browser closes, and the package now appears in the package list with the label.
Remember that if you updated to the registry version but you made changes locally to your project, the registry version will overwrite your local changes.
You can place a local package anywhere inside your project except under these folders:
Project folder: | Reason: |
---|---|
Assets |
If you place a package inside this folder, the Asset Database imports any assets under this folder twice: once as assets and once as package contents. |
Library |
Do not modify the contents of this folder. |
ProjectSettings |
This folder is for settings assets only. |
Packages |
If you place a package under this folder, the Package Manager automatically interprets it as an Embedded packageAn embedded package is a package that you store under the Packages directory at the root of a Unity project. This differs from most packages which you download from the package server. More infoSee in Glossary, regardless of the reference in the project manifestEach Unity project has a project manifest, which acts as an entry point for the Package Manager. This file must be available in the <project>/Packages directory. The Package Manager uses it to configure many things, including a list of dependencies for that project, as well as any package repository to query for packages. More infoSee in Glossary. |
When you visit any website, it may store or retrieve information on your browser, mostly in the form of cookies. This information might be about you, your preferences or your device and is mostly used to make the site work as you expect it to. The information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies. Click on the different category headings to find out more and change our default settings. However, blocking some types of cookies may impact your experience of the site and the services we are able to offer.
More information
These cookies enable the website to provide enhanced functionality and personalisation. They may be set by us or by third party providers whose services we have added to our pages. If you do not allow these cookies then some or all of these services may not function properly.
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us to know which pages are the most and least popular and see how visitors move around the site. All information these cookies collect is aggregated and therefore anonymous. If you do not allow these cookies we will not know when you have visited our site, and will not be able to monitor its performance.
These cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising. Some 3rd party video providers do not allow video views without targeting cookies. If you are experiencing difficulty viewing a video, you will need to set your cookie preferences for targeting to yes if you wish to view videos from these providers. Unity does not control this.
These cookies are necessary for the website to function and cannot be switched off in our systems. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms. You can set your browser to block or alert you about these cookies, but some parts of the site will not then work. These cookies do not store any personally identifiable information.