Unity Issue Tracker - “Uncaught RuntimeError” error when GZipStream is initialized with CompressionMode.Decompress and Code Optimization is set to with LTO in WebGL
Closed
UUM-69244
“Uncaught RuntimeError” error when GZipStream is initialized with CompressionMode.Decompress and Code Optimization is set to with LTO in WebGL
Unity: Web Platform
Won't Fix
6.3.X
6.2.X
6.1.X
2023.3.X
2023.2.X
2022.3.X
Cancelling this 2023.2 tech release issue since the support for this release has come to end of life. Cancelling this 2023.2 port case does not affect any LTS or Unity 6 Beta/Preview that remain open.
Reproduction steps:
1. Open the attached project “ReproProj”
2. Go to File > Build Settings and select WebGL platform
3. Set Code Optimization to "Disk Size with LTO"
4. Build And Run
5. Press the “Decompress” button
Expected result: Button function is completed
Actual result: “Uncaught RuntimeError” error is thrown
Reproducible with: 2022.3.24f1, 2023.2.18f1, 2023.3.0b10
Couldn’t test with: 2021.3.37f1 (No "Disk Size with LTO" code omptimization option)
Reproducible on: macOS 14.3.1 (M1 Max), Windows 10
Not reproducible on: No other environment tested
Prioritise and Follow this issue
Have a workaround or additional info about this issue?