Version: 2021.1
Inspecting packages
Scripting API for packages

Package Manifest window

When you click on the package manifestEach package has a manifest, which provides information about the package to the Package Manager. The manifest contains information such as the name of the package, its version, a description for users, dependencies on other packages (if any), and other details. More info
See in Glossary
file in the Project view, the Package Manifest window opens:

Inspecting a package manifest in the Editor
Inspecting a package manifest in the Editor

(A) Click the Open button to load this package manifest in your default code editor, such as Visual Studio. Click the View in Package Manager button to open the Package Manager window and load this package in the details view. Select the package importer you want to use from the Importer drop-down menu if you want to choose a different importer.

(B) The Information section contains details about this specific package version.

(C) Use the Brief Description text box to specify the text that you want to appear in the details view of the Package Manager window. For more information, see the documentation for the description property.

(D) Use the DependenciesIn the context of the Package Manager, a dependency is a specific package version (expressed in the form package_name@package_version) that a project or another package requires in order to work. Projects and packages use the dependencies attribute in their manifests to define the set of packages they require. For projects, these are considered direct dependencies; for packages, these are indirect, or transitive, dependencies. More info
See in Glossary
section to manage the list of packages that this package depends on.

(E) Click the Revert button to discard any changes you’ve made to the manifest. Click the Apply button to save any changes you’ve made to the manifest.

Information

Information section
Information section
Property Description
Name The official name for this package. For Unity packages, this is the short name (the official name without the com.unity. string at the beginning.)
Organization name The identifier of the Unity Organization that created this package.
Display name The user-facing name on display in the Project view and in the Package Manager. For more information, see the documentation for the displayName property.
Version The package version number. For more information, see the documentation for the version property.
Type The type of package. These values are reserved for internal use.
Minimal Unity version Enable this option to specify the lowest Unity version this package is compatible with. When you enable this option, the Major, Minor, and Release properties appear.

Disable this option to indicate that this package is compatible with all Unity versions and remove the Major, Minor, and Release properties.

For more information, see the documentation for the unity property.
Major Specify the MAJOR portion of the minimal Unity version. For more information, see the documentation for the unity property.
Minor Specify the MINOR portion of the minimal Unity version. For more information, see the documentation for the unity property.
Release Specify the UPDATE and RELEASE portion of the minimal Unity version. For more information, see the documentation for the unityRelease property.

Dependencies

Dependencies section
Dependencies section

Lists the other packages that are dependencies for this package. Each entry consists of the official package name (for example, “com.unity.probuilder”) and its version number.

To add a new dependency:

  1. Click the Add button. A new row appears in the list.
  2. Enter the package name on the left and the version on the right. For more information, see the documentation for the dependencies property.

To remove a dependency:

  1. Click the selector (=) to the left of the package you want to remove.
  2. Click the Remove button. The row disappears from the list.



  • Custom Packages added in Unity 2019.1 NewIn20191
Inspecting packages
Scripting API for packages