Search Issue Tracker

Fixed in 2021.2.X



Found in






Issue ID




[WebGL] "Unable to open archive file" error is thrown in Build when "Compress Local Catalog" option is enabled for Addressables

Addressable Assets


How to reproduce:
1. Open the attached project's Scene labeled "BasicReference"
2. Enter the Play Mode
3. In the Game View, Press the "Cubes" button
4. Inspect the behavior
5. Exit the Play Mode
6. In the "AddressableAssetSettings" Asset, enable the "Compress Local Catalog" option
7. Build Addressable Groups
8. Make a WebGL Build
9. Open the built Player on a browser
10. Press the "Cubes" button again
11. Inspect the behavior

Expected result: No errors are thrown and the catalog is loaded
Actual result: "Unable to open archive file" error is thrown in the Developer Console

Reproducible with: 2019.4.24f1, 2020.3.4f1, 2021.1.3f1, 2021.2.0a12
Couldn't test with: 2018.4.34f1 (Addressable groups and settings breaks when downgrading), 2021.2.0a13 (Error when building for WebGL)

  1. Resolution Note (fix version 2021.2):

    Fixed package version available in Unity 2018.4.0f1 and versions above

Comments (3)

  1. alikhanmyrzagali

    Mar 10, 2022 11:54

    I met this issue, while working with manually downloading addressables, but loading them via addressable system. The issue apperead, because I was not downloading builtinshaders.bundle file into folder with catalog.json file. Try to move it there, hope it will help.

  2. suiboli314

    Jun 28, 2021 06:30

    I encountered this issue while I wrongly configure the profile remote load path with {Application.streamingAssetsPath}.

    Unchecking compress local catalog gives me the real error message: cannot find bundle in path Application.streamingAssetsPath/somewhere
    After I updated it to {UnityEngine.Application.streamingAssetsPath}, and checked compress local catalog, everything goes well.

  3. all4pet

    Apr 09, 2021 11:49

    I am also facing the same problem. Can someone help me to resolve this issue.?

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.