Name your package
Set your official package name that appears in the Editor.
Read time 1 minuteLast updated 14 days ago
There are two names for a package. The first name is the official name, which is an identifier that you register the package with. The second name is the user-facing display name that appears in the Unity Editor.
Keep the display name brief, yet informative enough so that users can tell what it contains. The Unity Package Manager doesn't impose any restrictions on the display name.
Guidelines and restrictions for the official name
The official name must conform to the following guidelines and restrictions:
- The name must use reverse domain name notation, which means it must start with <domain-name-extension>.<company-name>, such as or
com.example. This restriction applies even if your company or website name begins with a digit. Following this naming convention prevents name collisions between packages from separate companies.net.example - Don't use at the beginning of your own package names.
com.unity - Don't use anywhere in your package name.
unity - The name can contain only lowercase letters, digits, hyphens(-), underscores (_), and periods (.)
- The recommended name length is 50 or fewer characters. The Unity Package Manager imposes a strict limit of 214 characters.
- To indicate nested namespaces, suffix the namespace with an additional period followed by an identifier.
Examples
- com.company.input
- com.company.2d.physics
- com.company.2d.tools