Version: 2020.3
Language : English
Adding and removing packages
Install a package from a local folder

Install a package from a registry

Note: When you install a package through the Package Manager window, the Package Manager evaluates other packages and their dependencies to see if there are any version conflicts with the version you selected. If it detects any conflicts or restrictions, it installs whatever version resolves these issues. For more information, see Dependency and resolution.

Use the same process for installing a package from either the Unity registry or any scoped registry defined in your project. The only difference is what you choose from the Packages drop-down menu:

  1. Open the Package Manager window and select Unity Registry 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
    drop-down menu. If you set up a scoped registry and you want to install a package from a scoped registry, choose My Registries instead.

    Note: If you haven’t defined any scoped registries for this project, My Registries doesn’t appear in the drop-down menu.

    Change the context to Unity Registry
    Change the context to Unity Registry
  2. Select the package you want to install from the list of packages. The package information appears in the details view.

    Note: By default, the Package Manager does not display preview packages. If you don’t see the package in the list of packages, it may be a preview packageA preview package is in development and not yet ready for production. A package in preview might be at any stage of development, from the initial stages to near completion.
    See in Glossary
    . Open the Package Manager project settingsA broad collection of settings which allow you to configure how Physics, Audio, Networking, Graphics, Input and many other areas of your project behave. More info
    See in Glossary
    and make sure the Enable Preview Packages project setting is enabled.

  3. Select the version to install. For more information on available versions, see Finding a specific version.

  4. Click the Install button.

Install button in the bottom right corner of the details view

When the progress bar finishes, the new package is ready to use.


Adding and removing packages
Install a package from a local folder
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961