Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Overriding providers for loading remote content catalogs using signed URLs

Discussion in 'Addressables' started by Wontorres, May 6, 2020.

  1. Wontorres

    Wontorres

    Joined:
    Sep 11, 2013
    Posts:
    1
    Hello, I have my addressable asset bundles and remote catalog files stored in an S3 bucket which required signed URLs to access. I managed to solve this for the asset bundles by overriding AssetBundleProvider with the signing code, and setting this new class as the new AssetBundleProvider under the Advanced Options of the group.

    Is there any way I can do something like this for the remote catalog? The remote catalog loading fails with a 403 (due to the lack of signing), and I can't find a place where I can override the providers that fetch this catalog (which I assume is TextDataProvider and ContentCatalogProvider).
     
  2. padedhia

    padedhia

    Joined:
    May 19, 2020
    Posts:
    1
    Hey, I am trying to achieve the same but I haven't even managed to achieve the signed URLs part. I think you also need to override JsonAssetProvider for reading the catalog and ResourceProviderBase for hashing.