Version: Unity 6.0 (6000.0)
Language : English
Document your package
Package Manager troubleshooting

Share your package

When you have finished developing your package, you can share it with other users.

Choose from the following methods to share your package:

Type Description
Compressed file You can distribute a zip file to other Unity users. That way, they can decompress the zip file to a local folder on their own computer and install the package from disk.
Tarball You can distribute a tarball to other Unity users. That way, they can install the package from the local tarball directly.

For information about signing and packing your package, refer to Prepare your package for distribution.
Git URL You can distribute a link to your Git repository, using one of the supported protocols. Then users can install your package using its Git URL, because the Unity Package Manager can fetch packages from Git repository hosting services like GitHub and GitLab.

For information about signing a Git package, refer to Prepare your package for distribution.
Scoped registry You can set up a package registry server to host your package and then publish it to that registry. For more information, refer to Host a scoped registry.

Your package’s consumers can then configure their project settings to Use a scoped registry to fetch your custom packages from your package registry.

For information about signing and packing your package, refer to Prepare your package for distribution.

Prepare your package for distribution

Before you distribute a package, sign it to ensure it’s compatible with Unity’s package ecosystem, which checks for package signatures in Unity 6000.3 and higher. The action you take depends on how you plan to distribute your package:

  • Tarball or scoped registry: Pack and sign your package.
  • Git package: Sign the package folder in place.

You can use the standalone Unity Package Manager command-line interface (UPM CLI) tool to pack and sign a package, or to sign a source-format package folder. For information, refer to Unity Package Manager CLI workflow. Note: This link opens the documentation for a higher version of the Unity User Manual. However, you can still use the UPM CLI tool with Unity 6000.0 because UPM CLI runs standalone without any Unity Editor.

Additional resources

  • Create custom packages
  • Asset packagesA collection of files and data from Unity projects, or elements of projects, which are compressed and stored in one file, similar to Zip files, with the .unitypackage extension. Asset packages are a handy way of sharing and re-using Unity projects and collections of assets. More info
    See in Glossary
Document your package
Package Manager troubleshooting