Why does Unity fail to decompress my addressable assets when updating the bundles?

We have been working with addressables for a while now. We are at the point where we need to be able to perform regression testing on our builds and assets.

We have the following setup:

  • regression test branch with remote load path for newly built assets using Addressable GroupsBuildNew BuildDefault Build Script
  • staging branch with new assets, also pointing to same remote load path. The assets are updated here, rather than newly built using Addressable GroupsBuildUpdate a Previous Build

Note: The app build (with new addressable build) and addressable update happened on different machines, from the same repo.

We publish the updated addressables to our CDN (AWS S3). When we try to load the addressables, we get the following errors:

Error while downloading Asset Bundle: Failed to decompress data for the AssetBundle 'https://s3.us-east-2.amazonaws.com/REDACTED.bundle'
Exception encountered in operation Resource(dda95b88ffb934daad5cd6e1d901da8c.bundle), status=Failed, result= : RemoteAssetBundleProvider unable to load from url https://s3.us-east-2.amazonaws.com/REDACTED.bundle  result='Unable to write data'

This prevents ALL our assets from downloading.

1 Like

We have the same problem with aws. Did you happen to find what the problem is? @DC_TSGV

did you solve it? happen to have same error im using github repo

Hey, so something you could try is taking your url to your AssetBundle on aws and paste it into your web browser to see if the file is able to successfully download that way. If it doesn’t download correctly through the browser, then the issue is likely something with your server configuration.

Something else you might can try, is adding ADDRESSABLES_LOG_ALL to your player scripting defines. This will enable very verbose logging on the Addressables side. It might help if the issue is actually on the Addressables side.

Thanks!