Search Issue Tracker
Fixed in 2021.2.X
Votes
0
Found in
2019.4
2019.4.22f1
2020.3
2021.1
2021.2
Issue ID
1327783
Regression
No
[WebGL] "Unable to open archive file" error is thrown in Build when "Compress Local Catalog" option is enabled for Addressables
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)
-
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.
-
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. -
all4pet
Apr 09, 2021 11:49
I am also facing the same problem. Can someone help me to resolve this issue.?
all4pets.in
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Sprite Preview is broken when the Sprite is too tall or too wide
- Objects are invisible in Scene view when using Wireframe Shading Mode
- The property of a component becomes read-only when it is bound to "PropertyStreamHandle"
- Physics.Raycast does not work when used on the whole model
- Shader Graph changes the Position of Prefab instances in Play mode
Resolution Note (fix version 2021.2):
Fixed package version available in Unity 2018.4.0f1 and versions above