Create a group template
Create reusable group templates that define which schema objects Unity creates for new groups.
A group template defines which types of schema objects Unity creates for a new group. The Addressables system includes the following default templates:
- Packed Assets: Includes all the settings needed to build and load Addressables using the AssetBundle system.
- Content Directories: Includes all the settings needed to build and load Addressables using the content directory system.
- Blank (no schema): A group with no schema attached to it.
Create a custom group template
To create your own build scripts, define the additional settings in a custom schema object and create a custom group template. To create a group template, perform the following steps:
- In the Project window, navigate to the folder you want to save the new group template to. The default template is in the
AssetGroupssubfolder ofAddressablesAssetsData. - Right-click and select Create > Addressables > Group Templates > Blank Group Template.
- Optionally rename the template and add a description to it.
- Select the new template, and in the Inspector select Add Schema to start adding schema objects to the template.
Repeat these steps to add as many new schemas as needed.
Note
If you use the default build script, a group must use the Content Directories or Content Packing & Loading schema. If you use content update builds, a group must include the Content Update Restrictions schema. For more information, refer to Builds.