Search Unity

Recommended workflow for updating asset bundles on server?

Discussion in 'Addressables' started by JonBFS, Jun 1, 2020.

  1. JonBFS

    JonBFS

    Joined:
    Feb 25, 2019
    Posts:
    39
    Is there a recommended workflow for updating content? Please forgive me if I missed something. I'm guessing this is what happens just from reading the documentation.

    BUILD
    1. build asset bundles
    2. all assetbundles are generated along with .bin file
    3. upload to AWS S3 bucket.

    UPDATE
    1. update asset bundles in unity editor
    2. .bin file and only changed asset bundles (with different name) are generated.

    This is where I get confused.

    Q1: If I directly overwrite the .bin file, then what happens to players who are currently downloading the file?

    Q2: If the bin file gets updated first before the updated asset bundles, then the bin file doesn't correctly represent the status of the folder since the new asset bundles haven't been uploaded yet.

    Q3: With this currently workflow, my folder will be filled with old unused asset bundles, how should one determine what is old and not? Periodically check folder and clear out old uploaded files?