Enhance your Unity editor experience with the Unity Package Registry Tools, a versatile editor tool designed to seamlessly manage scoped registries in your Unity projects. This powerful editor extension lets you easily add, remove, and manage scoped registries directly from the Unity Editor, providing a streamlined workflow for handling package sources in your manifest.json
file.
-
-
Predefined Registries: Comes with a set of predefined scoped registries known for common Unity packages
-
-
Selective Enable/Disable: Conveniently enable or disable individual registries
To install the Unity Package Registry Tools using the Git URL, follow these simple steps:
- Open your Unity project and navigate to
Window > Package Manager
. - In the Package Manager window, click the
+
button located at the top left and selectAdd package from git URL...
. - Enter this URL:
https://github.com/ltmx/Unity.PackageRegistryTools.git
- Click
Add
and Unity will begin importing the package into your project.
Ensure you have Git installed and properly setup in your system's PATH to use this feature
-
Access the tool via
Tools > Scoped Registry Editor
in the Unity main menu. -
Use the intuitive interface to manage your scoped registries:
- Add Registry: Click on the '+' button to add a new registry entry.
- Remove Registry: Select a registry and click the '-' button to remove the selected registry.
- Edit Registry: Modify the name, URL, or scopes directly in the list.
- Enable/Disable Registries: Toggle the checkbox next to each registry to enable or disable it as required.
- Reorder Registries: The order of the registries are reflected in the package manager (reorderable list feature)
-
After configuring your scoped registries, click
Update Registries
to apply the changes to yourmanifest.json
file. -
A dialog box will confirm the successful update of scoped registries.
-
You can edit the default package list by modifying them from the editor script, here
/// <summary> A list of predefined scoped registries to add to the manifest.json file. </summary> private static readonly List<ScopedRegistry> predefinedRegistries = new List<ScopedRegistry>() { // Author's registry new ("ltmx", UpmUrl, "com.ltmx"), // A curated list of Unity packages new ("UnityNuGet", "https://unitynuget-registry.azurewebsites.net", "org.nuget"), // Other great creator's registries new ("acegikmo", UpmUrl, "com.acegikmo"), new ("cysharp", UpmUrl, "com.cysharp"), new ("neuecc", UpmUrl, "com.neuecc"), new ("vrmc", UpmUrl, "com.vrmc"), new ("alelievr", UpmUrl, "com.alelievr"), new ("dbrizov", UpmUrl, "com.dbrizov"), new ("needle", UpmUrl, "com.needle"), new ("yasirkula", UpmUrl, "com.yasirkula"), new ("keijiro", "https://registry.npmjs.com", "jp.keijiro"), // Company registries new ("Google", UpmUrl, "com.google"), // h new ("MetaXR", "https://npm.developer.oculus.com", "com.meta.xr"), };
This tool includes predefined configurations for essential scoped registries like UnityNuGet, offering a diverse selection of packages, tools, SDKs, and libraries crucial for Unity development.
UnityNuGet
UnityNuGet offers a bridge to NuGet packages, allowing Unity developers to easily integrate thousands of .NET libraries into their projects. It's particularly useful for projects that rely on advanced .NET features or external .NET libraries.
Registry Details
- Name: UnityNuGet
- URL:
https://unitynuget-registry.azurewebsites.net
- Scopes:
org.nuget
MetaXR
The MetaXR Scoped Registry is a must-have for developers working on VR and AR applications, especially those targeting Oculus devices. It provides access to Oculus SDKs and tools essential for VR development.
Registry Details
- Name: MetaXR
- URL:
https://npm.developer.oculus.com
- Scopes:
com.meta.xr
Contributions are welcome! If you've identified a bug, have an idea for improvement, or want to propose a new feature, feel free to open an issue or submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.
The Markdown rendering is made using UMV as an embedded package
Enjoy a more efficient Unity package management experience with Unity Package