Version: 2022.1
Disabling a built-in package
Importing an Asset Store package

Switching to another package version

Use the information on this page to update packages that were installed from the Unity Registry or a scoped registry, or from a local source.

If you want to install a specific version of a package, add the package by name and follow its optional step to specify a version.

If you want to update packages that were installed from a Git URL, you can use any of the following methods:

  • Locate the package in the Package Manager, select it, then click the Update button.
  • Reinstall it as a Git dependency using a new revision. For more information about how to specify revisions with Git dependenciesThe Package Manager retrieves Git dependencies from a Git repository directly rather than from a package registry. Git dependencies use a Git URL reference instead of a version, and there’s no guarantee about the package quality, stability, validity, or even whether the version stated in its package.json file respects Semantic Versioning rules with regards to officially published releases of this package. More info
    See in Glossary
    , see Targeting a specific revision.
  • Reinstall it from the Unity Registry.

You can update a package while in the In Project, Unity Registry, or My Registries context:

  1. Open the Package Manager window and select In Project from the PackagesPackages are collections of assets to be shared and re-used in Unity. The Unity Package Manager (UPM) can display, add, and remove packages from your project. These packages are native to the Unity Package Manager and provide a fundamental method of delivering Unity functionality. However, the Unity Package Manager can also display Asset Store packages that you downloaded from the Asset Store. More info
    See in Glossary
    menu.

    Switch the context to In Project
    Switch the context to In Project

    An arrow icon () appears next to any packages that have updates available.

  2. Select the installed package you want to update from the list of packages. The package information appears in the details view.

  3. The lock icon () indicates that this package and version is locked to an installed feature setA feature set is a collection of related packages that you can use to achieve specific results in the Unity Editor. You can manage feature sets directly in Unity’s Package Manager. More info
    See in Glossary
    . To unlock the package and select another version, click the Unlock button.

    Note: The package is temporarily unlocked. If you change to a different list context, or close either the Package Manager or the Editor, the package reverts to a locked state again. However, if you switch versions when the package is unlocked (for example, with the Add package by name method), the package stays unlocked.

  4. In the list of packages, click the expander icon to the left of the package name.

    Currently installed and Recommended are the only versions available
    Currently installed and Recommended are the only versions available

    Note: If you see the See other versions link after expanding the package, you can click it to see the list of all available versions for that package.

  5. Select any version of the current package to see the details specific to that version in the details view.

    Update to button in the bottom right corner of the details view
    Update to button in the bottom right corner of the details view
  6. Click the Update to button.

    When the progress bar finishes, any new functionality is immediately available.

Notes:


Disabling a built-in package
Importing an Asset Store package
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961