Version: 2021.1
Adding and removing packages
Installing a package from a local folder

Installing 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 Packages drop-down menu. If you want to install a package from a scoped registry, choose My Registries instead.

    Change the scope to Unity Registry
    Change the scope to Unity Registry

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

  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 package. Open the Package Manager project settings 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
Installing a package from a local folder
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。