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
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts with meta files from previous Editor versions
- Input.mousePosition returns (NaN, NaN, 0.00) when Scene view is opened
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.