CRIWARE Unity Plugin Manual  Last Updated: 2024-07-12
CRI Addressables components
CRI Addressables handle Non-Asset CRI data as the actual data.
The following components are used by the Addressables to associate CRI assets with references to Non-Asset CRI data.

Anchor Asset

The Addressables system collects the dependencies of each asset and automatically generates the dependencies for the resources (such as an AssetBundle).
CRI Addressables create Anchor Assets to make the Addressables aware that CRI Assets have a dependency to Non-Asset CRI data.
Each of these CRI Assets has a dependency to an Anchor Asset, which indicates that it has a dependency to Non-Asset CRI data.

Setting a CRI Asset's Deploy Type to Addressables will generate an Anchor Asset with a one-to-one correspondence with the CRI Asset.
The location of the Anchor Asset that is generated can specified in the CriAddressablesSetting Asset.
Note:
The Anchor Asset is an asset required to work with CRI Addressables. It should be added to version control like the CRI asset itself.

CriData Group

When the Anchor Asset is generated, a "CriData_Remote" or "CriData_Local" group is automatically added to the Addressable Groups.
When a resource from this group is requested by the application, it is acquired by the CRI Addressables' own ResourceProvider.

addon4u_assetsupport_addressables_groups.png

Attention
Note that any changes to the contents of the CriData group or to the settings of the bundles may lead to issues when using the CRI Addressables. Therefore, avoid editing the CriData group, except for the automatic changes triggered by setting the Deploy Type.
For Addressables Groups other than "CriData", any ResourceProvider can be used (with or without CRI Assets).
Only the Anchor Asset in the "CriData" group requires its own ResourceProvider to work.

   THIS SERVICE MAY CONTAIN TRANSLATIONS POWERED BY GOOGLE. GOOGLE DISCLAIMS ALL WARRANTIES RELATED TO THE TRANSLATIONS, EXPRESS OR IMPLIED, INCLUDING ANY WARRANTIES OF ACCURACY, RELIABILITY, AND ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.