Search Issue Tracker
Third Party Issue
Votes
1
Found in
6000.0.54f1
6000.1.13f1
6000.2.0b12
6000.3.0a3
Issue ID
UUM-112943
Regression
No
WebGL build crashes when opening a ZipArchive entry and "Code Optimization" is not set to the default "Shorter Build Time"
How to reproduce:
1. Open the “IN-106873_TestZipload“ project
2. Open File > Build Profiles
3. Ensure “Code Optimization” is set to “Runtime Speed”
4. Build and Run
5. In the Build press the space bar
6. Observe crash
Reproducible with: 2023.1.0a6, 6000.0.54f1, 6000.1.13f1, 6000.2.0b12, 6000.3.0a3
Could not test with: 2023.1.0a1, 2023.1.0a5 (An instant runtime error after the build is created)
Reproducible on: macSO 15.5 (M1 Max), Windows 11 (by user)
Not reproducible on: no other environments tested
Note: Not reproducible with Code Optimization set to “Shorter Build Time”
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
- Errors are logged when importing an asset at a path with Firebase
- Entering too big of a number in 2D Renderer Lightmode Tags freezes the Editor
- Crash on GUIManager::DoGUIEvent when focusing on the Game view window on a specific project
- Asset creation in the Project Browser is not always undone/inconsistent when the undo shortcut is pressed right after creating an asset
- JobTempAlloc memory leak warning is thrown when the Player is shut down
Resolution Note:
Thank you for reporting this bug to Unity.
After careful review, we have determined that the root cause of the issue lies with the upstream LLVM LTO optimizer (https://github.com/llvm/llvm-project: The LLVM Project is a collection of modular and reusable compiler and toolchain technologies).
The LTO optimizer is a special, last-stage optimizer in the native LLVM build chain. Unlike regular optimizers that work on individual functions, LTO analyzes and optimizes the entire codebase for additional improvements.
As a workaround in the current version of Unity, you can avoid triggering the LTO optimizer by performing a Development build or a Release build with the optimization set to “Shorter Build Time.” The LTO optimizer is only enabled for “Runtime Speed” and “Disk Size” build configurations.
Since this issue originates from a third-party component, we are closing this ticket as a "third party issue." If you have further questions or concerns, please let us know.