Search Unity

Feedback 1.8.3 How to load content catalog, compressed to bundle?

Discussion in 'Addressables' started by iamarugin, Apr 26, 2020.

  1. iamarugin

    iamarugin

    Joined:
    Dec 17, 2014
    Posts:
    883
    New feature in 1.8.3:
    - Added the option to compress the local content catalog by packing it in an asset bundle.

    I used external content catalog and assets in my project, built in other project.
    Content catalog is huge (11 Mb) so I built it using the "compress local content catalog" option. And now I want to load it in project.

    I used

    Code (CSharp):
    1.    
    2.     var locator = await Addressables.LoadContentCatalogAsync(path).Task;
    3.     Addressables.AddResourceLocator(locator);
    4.  
    but it doesn't work for catalog in bundle. I found BundleCatalog in source code, but it is internal class.
     
    Last edited: Apr 26, 2020
  2. CameronND

    CameronND

    Joined:
    Oct 2, 2018
    Posts:
    88
    It looks like its only for local catalog not remote. But i'd like the ability to load a remote one too.
     
  3. TreyK-47

    TreyK-47

    Unity Technologies

    Joined:
    Oct 22, 2019
    Posts:
    1,820
    Thanks for the feedback! I'll forward this over to the team for them to review!
     
  4. TreyK-47

    TreyK-47

    Unity Technologies

    Joined:
    Oct 22, 2019
    Posts:
    1,820
    The team were fans of this idea, @iamarugin! Can you file a ticket requesting this?
     
  5. iamarugin

    iamarugin

    Joined:
    Dec 17, 2014
    Posts:
    883
    @TreyK-47 this is a great news, of course!
     
  6. iamarugin

    iamarugin

    Joined:
    Dec 17, 2014
    Posts:
    883
    done -y Case 1245358
     
  7. TreyK-47

    TreyK-47

    Unity Technologies

    Joined:
    Oct 22, 2019
    Posts:
    1,820
    Thanks! Looks like this is a feature the team won't be implementing at this time. Supporting remote catalogs in bundles introduces a lot of complexity to our catalog loading and is not something we will be able to support.