Search Unity

Addressable content versioning

Discussion in 'Addressables' started by rubmonmini, Jun 11, 2019.

  1. rubmonmini

    rubmonmini

    Joined:
    Aug 28, 2018
    Posts:
    4
    Is it possible to revert a content update, i.e., make the client point to a older version of content?

    For example, how would one rollback a defective content update?
     
  2. Kerber996

    Kerber996

    Joined:
    Nov 9, 2016
    Posts:
    23
    U would need to edit your catalog to point to older hashes, and i do thing you should change the hash in the catalog as well, but i'm not sure how to do that. If you open the catalog and format it (json) you will understand :D
     
    rubmonmini likes this.
  3. rubmonmini

    rubmonmini

    Joined:
    Aug 28, 2018
    Posts:
    4
    Thanks, this pointed me in the right direction. I think it's easier to just keep a copy of each released version of the catalog .json and .hash in a version sub-folder. To revert, I can just copy from the version's sub-folder into the main one.
     
    unity_bill likes this.
  4. cjdbeans

    cjdbeans

    Joined:
    Jun 29, 2017
    Posts:
    8
    Wouldn't the easiest way be to revert locally (via your source control) and then just push out another content update?
     
    unity_bill likes this.
  5. ChiuanWei

    ChiuanWei

    Joined:
    Jan 29, 2012
    Posts:
    131
    how to rollback ??? it's useful when PUBLISH game with bad situation.:oops: