Search Issue Tracker
Fixed in 1.1.10
Votes
1
Found in [Package]
1.1.4
Issue ID
1164325
Regression
No
[Addressables] Default Unity Shaders special bundle always uses LZMA compression and is hence unusable for Web builds
How to reproduce:
1. Open the attached project ("case_1164325-UnityAddressableTest.zip")
2. Build Player Content
3. Build for WebGL (in "build" folder)
4. Upload both the Addressable bundles and the WebGL build to a web server
5. Run the build
Expected results: A house loads from the asset bundle
Actual results: House does not load from the asset bundle; errors in the web-browser
Reproducible with: 2018.4.3f1, 2019.1.8f1, 2019.2.0b7, 2019.3.0a7
Reproducible with package versions: 0.8.6, 1.1.4
Note
A possible workaround is setting the BundleCompression in the constructor of AddressableAssetsBundleBuildParameters.cs to set BundleCompression = BuildCompression.LZ4, as stated in the forums: https://forum.unity.com/threads/webgl-and-addressable-scenes.569353/
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
- Light Anchor component has non-zero default values for Elevation when adding a new Light Anchor component
- Inspector elements are rendered twice when the script component is added via drag-and-drop while the HideFlags.HideInInspector property is set
- Error "Light baking failed with error code 5 (Convergence data not available while rendering lightmaps)" thrown in Console when generating lighting for specific GameObjects
- Copy and Paste options for an Animation Property value are disabled in the Right click contextual menu
- Asset is not found when searching the Label "NewLabel" in Search Window
Resolution Note (fix version 1.1.10):
Now handling which compression is being done at runtime. WebGL should be detected which should make it LZ4.