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
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

Resolved Splitting addressable assets in same label to multiple bundles

Discussion in 'Addressables' started by seop0315, Mar 30, 2021.

Thread Status:
Not open for further replies.
  1. seop0315

    seop0315

    Joined:
    Nov 17, 2020
    Posts:
    2
    I just started to use Addressable to manage assets in runtime.

    Here's my problem.
    Let's say there are lots of prefabs splitted into 2 Addressable Groups(PrefabGroup1 and PrefabGroup2). They all have same label which is AddressablePrefab.
    Building this will make a single huge file like 'addressableprefab_assets_all_123456.bundle'.

    Is there any way to split it to multiple files to make upload/download bundles more safe?
    (to avoid uploading/downloading from the beginning due to a sudden failure)
     
  2. seop0315

    seop0315

    Joined:
    Nov 17, 2020
    Posts:
    2
    Self reply.

    Created Addressable Group generates BundledAssetGroupSchema and ContentUpdateGroupSchema under Assets/AddressableAssetsData/AssetGroups
    There's a [Bundle Mode] option in BundledAssetGroupSchema which contains Pack Together(default), Pack Separately, Pack Together by Label.

    'Pack Separately' is the answer for my question.

    Here's the documentation.
    https://docs.unity3d.com/Packages/c...undledAssetGroupSchema.BundlePackingMode.html
     
    aydin_khp, brazzoni and ggzerosum like this.
  3. Sounne

    Sounne

    Joined:
    Feb 13, 2018
    Posts:
    1
    Thank you:)
     
Thread Status:
Not open for further replies.