Differences between package types
Learn about the differences between the two package formats that Unity supports.
読み終わるまでの所要時間 2 分最終更新 5日前
Unity's Package Manager supports two package types:
- UPM packages (Unity Package Manager built-in format).
- Asset packages (format).
.unitypackage
The following table compares the differentiating characteristics of these package types:
Characteristic | UPM packages | Asset packages |
|---|---|---|
| Format | Collection of files and folders, which might be compressed, depending on the distribution method. | A compressed file with a |
| Primary source for the package | Unity registry, scoped registry, or Asset Store. | Asset Store |
| Typical contents | Scripts, tools, utilities, and SDKs. | Art and media assets (such as models, textures, animations, audio.) |
| Supports Package dependencies | Yes | No |
| Supports Version switching in the Editor | Yes | No |
| Supports Package signatures | Starting with Unity 6.3 | Starting with Unity 6.6, but only for exported asset packages. |
| Subject to project's Package security settings | Yes (if coming from registries or distributed as tarball.) | No |
| Uses a Package manifest file | Yes | No |
| UI action for adding the package to a project | Install | Download and import |
| Folder structure | Standardized | Free-form |
| Project folder the package is added to | | |
| Cache the package is added to | Global cache | Asset package cache. Refer to Location of downloaded asset package files. |
| You can manually remove the package from the cache | No | Yes |
| Sets of tabs that appear in the Details panel | Description, Version History, Dependencies, Samples (if provided), Images (if provided) | Overview, Releases, Imported Assets, Images |
Guidelines for package creators
If you're creating a package, follow these guidelines to help you determine which format to choose:
- Use UPM when you need version control, dependency management, or plan to share or maintain the package across multiple projects. The UPM format is more suited for code and reusable elements.
- Use Asset package () for one-time imports of art assets such as (but not limited to) models, textures, animations, and audio. This format is also appropriate for informal package sharing, rather than distributing in a registry (scoped or otherwise).
.unitypackage