Version: Unity 6 Beta (6000.0)
Language : English
Graphics
Physics

Package Manager

To access the Package Manager settings, open the Edit menu, then select 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
, then select the Package Manager category. These settings let you manage your scoped registries and change the advanced settings for your current project.

Properties for the Package Manager
Properties for the Package Manager

(A) Under the Advanced Settings section, toggle whether pre-release packages are visible in the Package Manager window.

(B) Add, change, and remove scoped registries for your project under the Scoped Registries group, which has the following areas:

    (1) The list of scoped registries currently defined for this project.

    (2) The details for the selected scoped registry.


Advanced Settings

Use the Advanced Settings group to toggle the Enable Pre-release Packages setting for your current project.

Enable Pre-release Packages

Enable the Enable Pre-release Packages setting to display pre-release packages in the Package Manager window. Pre-release packages appear with the tag in the list panel and the tag in the details panel. These tags serve as a reminder of which packages will release with the next long-term support (LTS) version of the Unity Editor.

Warning: By default, this setting is disabled because pre-release packages are still being verified as stable enough for production, but aren’t fully released yet. For more information about the lifecycle of packages, refer to Package states and lifecycle.


Scoped Registries

The Scoped Registries group displays a list of scoped registries added to the current project on the left of the settings group, and the details of the selected registry on the right.

For detailed information about scoped registries, including how to use and configure them with the Unity Package Manager, refer to Scoped Registries.

Note: You might experience an issue when you add a scoped registry, but it’s not listed in the My Registries context or the My Registries context isn’t available at all. This might happen because the package registry server you added doesn’t implement the /-/v1/search or /-/all endpoints. Unity’s Package Manager requires these endpoints.

Adding a new registry

To add a new scoped registry to your project:

  1. Select the + button at the bottom of the list of scoped registries. A new entry appears in the list as New Scoped Registry with blank values for the details on the right.
  2. Enter values for the Name, URL, and Scope(s) properties.
  3. If you need to specify more than one scope, select the + button underneath the last Scope(s) value. Another text box appears.
  4. After you enter the information for the selected scoped registry, click Save. To cancel adding the new scoped registry, click Cancel.

Changing an existing registry

To change an existing scoped registry:

  1. Select the registry you want to change from the list on the left. The existing information appears on the right.
  2. Change any of the Name, URL, and Scope(s) properties.
  3. After you update the information for the selected scoped registry, click Apply. To cancel your updates, click Revert.

Removing a registry

To delete an existing scoped registry:

  1. Select the registry you want to delete from the list.
  2. Click the - button underneath the list. A dialog prompts you to confirm the removal.
  3. Click Ok to remove the registry or Cancel to leave it intact.


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