Went from 40+ minutes to 20 minutes by setting to development mode
2nd build took couple of minutes
Thereâs also a bug with Unity doesnât build the same build the second time. The bug is already taken into plans of fixing it. When will it be fixed - who knows. Iâm going to try the recent versions to see if it is fixed.
upd: Unity 6.2.0b7 - WebGL build still doesnât pass successfully the second time. Build 1 - all ok. Build 2 right after Build 1 - wmic error. Cool.
Unity 6000.1.12f1 still fâŚ
With features enabled and building without LOT.
Both Runtime Speed and Faster Build times happens the same thing.
Cleaning library doesnât work.
Time to wait 1 year for a fix⌠-.-
Amen! This fixed my build time â Development mode on, WebAssembly 2023 feature set on, no compression.
development build checked will make builds faster, first build will take some minutes in my case, subsequent builds will be much much faster⌠this is good for fast iterations but thats it.. it should not be used for prod builds
In addition this definetely does not solve the core problem, for instance my current build, only 1 scene, it has a few text mesh components, no plugins, just TMpro and very few scriptsâŚ
I have the option set Shorter Build Time, and even so⌠the build goes for more than 1 hour until I get frustrated and just hit cancel and go back to development modeâŚ
On macOS, I think one extra factors contributing to the slowness is that the linker wasm-ld is still an Intel binary. Later Emscripten versions would switch to lld which can run as an ARM binary.
The other problem is that even with lld, the linker is single threaded. lld already has multithreaded support, and should be on by default, so it could be that concurrent linking cannot happen when linking WASM.
It took still long time on 6.2. At the end I was getting also signature mismatch initialize.
I managed to solve the signature mismatch problem and decreased time to 20~ minutes by upgrading build tools through visual studio installer. Leaving the comment for future references.
I am worried about my build in unity. I am basically running a piece of junk and its so far taking 12 minutes
I use Unity 6000.3.8f1 and currently finished my 2nd. tutorial (Essentials Pathway tutorial). Used gallery scene where I added some 3D assets. I canât Web build this simple scene. With default Web build settings it took over 2 hours (!!!) and in theory process was finished but after publishing to Unity Play it doesnât work at all. It doesnât work in Chrome on my comp. either. I tried Clean Build as well but project still doesnât work. Iâve changed build settings (WebAssembly 2023 ON, Compression DISABLED, Development Build OFF) and yes, it improved. Built took just over 20 min. but it doesnât work in Chrome on my comp. (load around 90% and then lot of errors) and canât upload to Unity Play, because project it now more than 1GB in size. This is absolutely rubbish! Someone should fix this mess with Web builds ASAP. Letâs hope builds for other platforms work as they shouldâŚ

