Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Package development

Build and share your own packages, by learning about custom package requirements, working with package manifest files, and more.
Read time 1 minuteLast updated 13 days ago

Create your own Unity Package Manager (UPM) package to extend the functionality of the Unity Editor.
You can use packages that you create for one of your projects or for multiple projects. You can also share your package with others in your organization or studio so they can use it in any project. You can even distribute your package through official channels, for the wider community to use.

Topic

Description

Package development workflowUnderstand the development workflow for creating new UPM packages.
Name your packageSet your official package name that appears in the Editor.
Package layoutFollow the recommended folder structure for the manifest, Editor and Runtime assemblies, tests, samples, and documentation.
Add tests to your packageVerify behavior with tests during development.
Create samples for your packageInclude optional samples that help users learn the package and import example content.
Package manifestDefine the metadata the Editor uses to identify, load, and manage your package.
Package versioningApply semantic versioning so version numbers reflect compatible and breaking changes.
Create or edit the assembly definitionsConfigure assembly definitions so the Editor compiles package scripts as separate assemblies.
Add required legal files to your packageSupply licensing and attribution when distribution requires it.
Document your packageCreate documentation that helps users get the most out of your package.
Share your packageDistribute your finished package via archive, tarball, Git URL, or scoped registry.

Additional resources