Build for web hangs on linking

Unity 2023.3.0b2: the web build process hangs at ‘Linking build.js (wasm)’ stage. The build lasted all night but was not completed. I tried several times, but the build was never completed.

It looks like WebGL build times have increased a lot in 2023.3.
How large is your codebase and what “Code Optimization” setting is selected?
“Shorter Build Time” is the only option that doesn’t take ages for me. Runtime Speed takes quite some time already and any option with LTO takes so incredibly long that it’s pretty much unusable at this point, even on smaller projects.

Small project takes me about 45 min with LTO, comparison a windows build takes <2 min.

I have a problem with this version too. I wait about 15-20 minutes when the Linking build label is displayed.js, after that I click Cancel. It is also canceled for about 5-10 minutes and after that I click Build again and the build is compiled into the Web as usual, without hanging on Linking build.js . But after any code change and compilation, it will hang again. So far, only such actions help.
It works correctly on the latest version 2023.3.0a14, starting with alpha 15, something has apparently changed related to Linking build.js

1 Like

Hello, I found a temp solution that works for me too:
“Shorter Build Time” option in “Code Optimization” settings

9611288--1363598--Screenshot 2024-01-29 at 21.35.05.png

1 Like