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

Content update pipeline - do I need to keep around the previous asset bundles or just the *.bin file

Discussion in 'Addressables' started by Prodigga, May 20, 2020.

  1. Prodigga

    Prodigga

    Joined:
    Apr 13, 2011
    Posts:
    1,122
    Hi there

    I have a group that bundles assets separately. There is 3 assets in the bundle. I do a build, and upload all to my server. Perfect.

    What is the workflow going forward? Am I expected to keep these asset bundles around on my local machine when doing an asset bundle build for a content update (say, 2nd asset in the bundle has been modified but not the others, so asset bundles 1 and 3 are the same but 2 is different)? If I delete the asset bundle files, and do a build for a content update using the bin file, it seems to output all 3 of the asset bundles again, with 1 and 3 being 'the same', and 2 having a new name as it's contents have changed. Is this 'safe' ? Are the old asset bundles needed 'for reference' by the build pipeline when building for a content update?

    Lastly, what is the recommended approach to keeping the bin file, err, in sync? Do I commit it to source control with the rest of our assets? Thing's seem very error prone and loosey goosey, so I thought I would nail down/figure out the expected workflow before I start using this stuff!

    Cheers
     
  2. dirty-rectangle

    dirty-rectangle

    Joined:
    Apr 23, 2015
    Posts:
    78
  3. Prodigga

    Prodigga

    Joined:
    Apr 13, 2011
    Posts:
    1,122
    Hello? Bump? The silence doesn't give me much confidence to persue addressables! The documentation is lacking and a lot of it is a mystery. I understand the devs are busy working on the asset, but if you want the system to be adopted by more people you can't just leave everyone in the dark.

    Should I open an issue to get some eyes on this? My only means of seeking help on this is this forum category. There is literally nowhere else.
     
  4. Prodigga

    Prodigga

    Joined:
    Apr 13, 2011
    Posts:
    1,122
  5. mateuszjaworski

    mateuszjaworski

    Joined:
    Aug 8, 2019
    Posts:
    12
    I am interested in that matter as well. Also I'd like to know how to approach addressables update after uploading game update via AppStore/Steam. Do I use previous bin file or the new one? Does it make my game to redownload everything or just the things that seem to be changed?
     
  6. dirty-rectangle

    dirty-rectangle

    Joined:
    Apr 23, 2015
    Posts:
    78