How to undo "Clean Build"?

Hi.

I’ll be straight to the problem. So the problem starts when I cancelled an addressable build process, and some of the asset bundles (in the next build) appear to become corrupted (some assets became broken). So I tried the “Clean Build > All” and it fixed the issue. But then I realize, if I do a clean build all of our players will be forced to re-download all the asset bundles (in the next update) right? Which will become an issue in the future when the game grows in size.

So if the corruption occurs ever again for whatever reason, I think “Clean All” build is not exactly a favorable solution. The cleaner solution I think if I can somehow revert the addressable “state” to before the “corruption inducing” incident right?

So for that I have two questions:

  • How to properly backup the “addressable state” after each build? Which file/folder(s) to back up to be exact? I ask because I figure backing up the addressable_content_state.bin file is not enough correct? I feel like I have to backup the asset bundle cache. Which leads to next question:
  • Where is the asset bundle cache location? I feel like if I back up both the cache folder and the addressable_content_state.bin, it means I will be able to revert between each addressable builds freely.

Except if I have wrong understanding of how addressable build work. Which I’d like to get some enlightments of.

Thanks in advance for any help!

Regards,

1 Like

Hi. Did you manage to find the proper way of backing up them?