コガネブログ

平日更新を目標に Unity や C#、Visual Studio、ReSharper などのゲーム開発アレコレを書いていきます

【Unity】Addressable Asset System で InitializeAsync を実行したときに InternalIdTransformFunc で呼び出される InternalId

概要

  • Windows 10
  • リモートカタログのファイル名は catalog_1.0.0
  • RemoteLoadPath は http://localhost/[BuildTarget]
  • 表の横幅がおかしいので気が向いたら直す

リモートカタログがキャッシュされていない場合

ResourceType PrimaryKey InternalId
ResourceManagerRuntimeData RuntimeData Library/com.unity.addressables/StreamingAssetsCopy/aa/Windows/settings.json
ContentCatalogData AddressablesMainContentCatalog Library/com.unity.addressables/StreamingAssetsCopy/aa/Windows/catalog.json
string AddressablesMainContentCatalogRemoteHash http://localhost/StandaloneWindows64/catalog_1.0.0.hash
string AddressablesMainContentCatalogCacheHash C:/Users/XXXX/AppData/LocalLow/YYYY/ZZZZ/com.unity.addressables/catalog_1.0.0.hash
ContentCatalogData AddressablesMainContentCatalog Library/com.unity.addressables/StreamingAssetsCopy/aa/Windows/catalog.json
string AddressablesMainContentCatalogRemoteHash http://localhost/StandaloneWindows64/catalog_1.0.0.hash
string AddressablesMainContentCatalogCacheHash C:/Users/XXXX/AppData/LocalLow/YYYY/ZZZZ/com.unity.addressables/catalog_1.0.0.hash
ContentCatalogData InternalId と同じ http://localhost/StandaloneWindows64/catalog_1.0.0.json

リモートカタログがキャッシュされている場合

ResourceType PrimaryKey InternalId
ResourceManagerRuntimeData RuntimeData Library/com.unity.addressables/StreamingAssetsCopy/aa/Windows/settings.json
ContentCatalogData AddressablesMainContentCatalog Library/com.unity.addressables/StreamingAssetsCopy/aa/Windows/catalog.json
string AddressablesMainContentCatalogRemoteHash http://localhost/StandaloneWindows64/catalog_1.0.0.hash
string AddressablesMainContentCatalogCacheHash C:/Users/XXXX/AppData/LocalLow/YYYY/ZZZZ/com.unity.addressables/catalog_1.0.0.hash
ContentCatalogData AddressablesMainContentCatalog Library/com.unity.addressables/StreamingAssetsCopy/aa/Windows/catalog.json
string AddressablesMainContentCatalogCacheHash C:/Users/XXXX/AppData/LocalLow/YYYY/ZZZZ/com.unity.addressables/catalog_1.0.0.hash
ContentCatalogData InternalId と同じ C:/Users/XXXX/AppData/LocalLow/YYYY/ZZZZ/com.unity.addressables/catalog_1.0.0.json