Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Selection from Multiple-buckets

Discussion in 'Unity Cloud Content Delivery' started by darashayda, Sep 28, 2021.

  1. darashayda

    darashayda

    Joined:
    Jun 27, 2020
    Posts:
    440
    I am not sure how this might work if I go along with Arturo's design framework:

    1. Single scene

    2. Multiple-Buckets

    3. The code selects only 1 single bucket to download

    Somehow I missed the step for doing that.

    Dara
     
  2. darashayda

    darashayda

    Joined:
    Jun 27, 2020
    Posts:
    440
    This is the code I have so far load a scene:

    public void load()
    {

    Caching.ClearCache();

    Addressables.LoadSceneAsync("Assets/Environments/Scenes/AnimeRPG1.unity", LoadSceneMode.Single, true).Completed += (async) =>
    {
    Debug.Log("Async load done!!!");
    //...
    };
    }

    This scene was actually made Addressable via the default_group including all that the scene needed.

    My question is: I like to make one such scene for all the similar Anime RPG scenes but switch the Addressable Group.

    Or is there a better way to do this.

    In documentation and another Addressable Unity Forum , there are unnumbered issues with loading multiple groups and Addressables in the code.

    I was wondering if there is a well-known and clearly working way for us to proceed.

    Dara