Package security settings lets you define a project-level security policy that determines which packages Unity accepts, based on each package’s signature status and signing organization. Rather than applying a fixed rule, it gives you and your team the control to set a threshold you’re comfortable with. Choose a strict policy for trusted sources only, or a permissive policy, or something in between.
Unity evaluates packages against your security threshold when any project contributor tries to install, update, remove, or reset a package. The result is a consistent experience for members of the same organizations who work together in the project. Packages that meet your threshold install without interruption, while those that don’t trigger a clear message explaining what happened and why.
Package security settings uses three pieces of signature data to evaluate each package:
Package security settings provides the following benefits:
Package security settings provides three threshold levels. Choose the one that matches your project’s needs.
This is the most restrictive threshold and the default. Package Manager accepts packages signed by Unity, distributed through the Asset Store, or signed by your own Unity organization. Package Manager blocks packages outside these sources, and a dialog window with an OK button explains the denial.
Use this threshold for production projects or any project where you need strict control over packages.
The following table shows how this threshold affects specific installation scenarios.
| Scenario | Result |
|---|---|
| Install a signed package from your organization. | Package installs successfully. |
| Install a signed package outside of your organization. | Package Manager blocks the installation. A dialog window with an OK button explains the denial. |
| Install a package with an invalid or missing signature. | Package Manager blocks the installation. A dialog window with an OK button explains the denial. |
Package Manager accepts any package with a valid signature, regardless of which organization signed it. If a package has a valid signature from an organization outside your own, Package Manager displays a warning and gives you the option to select Install Anyway to proceed. Package Manager blocks packages with an invalid or missing signature.
Use this threshold if your project relies on packages from a range of trusted external publishers.
The following table shows how this threshold affects specific installation scenarios.
| Scenario | Result |
|---|---|
| Install a signed package from your organization. | Package installs successfully. |
| Install a signed package outside of your organization. | A dialog warns you of the signature status. Select Install Anyway to complete the installation. |
| Install a package with an invalid or missing signature. | Package Manager blocks the installation. A dialog window with an OK button explains the denial. |
This is the most permissive threshold. Package Manager accepts packages regardless of their signature status. Package Manager still displays a warning for packages signed outside your organization, or packages with invalid or missing signatures, and you can select Install Anyway to proceed.
Use this threshold for prototyping or research projects where you want to evaluate packages with the fewest restrictions.
The following table shows how this threshold affects specific installation scenarios.
| Scenario | Result |
|---|---|
| Install a signed package from your organization. | Package installs successfully. |
| Install a signed package outside of your organization. | A dialog warns you of the signature status. Select Install Anyway to complete the installation. |
| Install a package with an invalid or missing signature. | A dialog warns you of the signature status. Select Install Anyway to complete the installation. |
Package security settings applies when you install packages from the following sources:
Package security settings is most effective when you consciously choose a threshold before you start working with packages and maintain the threshold consistently throughout the project. Because the setting applies to all contributors, frequent or unplanned threshold changes undermine the consistent policy that the setting is designed to establish.
Consider the types of packages your project needs and where they come from. After you set a threshold, treat any subsequent change as a deliberate decision rather than a routine adjustment.
Set your preferred security threshold in 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.
If you change to a stricter threshold, Unity doesn’t uninstall packages that are already in your project. Packages that no longer meet the new threshold remain in the project, but Unity lists them in the Errors and Warnings view of the Package Manager window. Review those packages to decide whether to remove them manually.