To manually add a package, find its registered package name, and a version of the package you know exists.
Navigate to the documentation for a package1, and note the package name in the URL.
A package name is always in this format, <domain-name-extension>.<company-name>.<package-name>
.
For example, the 2D Pixel Perfect package contains com.unity.2d.pixel-perfect
in its URL.
Some packages will have installation instructions in their documentation, and it's important to exhaust that information first.
In the documentation's Changelog tab versions are in the header for each release, for example 5.0.1
. This number may contain a suffix, e.g. 5.0.0-pre.2
.
Not all versions are compatible with all Unity releases. You may have to upgrade or downgrade versions to match your release.
com.company.package@0.0.0
, this is optional.Packages in a project are described by the manifest.json
file in the Packages folder at the root of a project.
dependencies
section."com.unity.2d.pixel-perfect": "5.0.1"
.See Project Manifest for more information.
You can find the documentation for packages by looking in the packages by keywords section of the Unity Manual.↩