I’m trying out my game as WebGL but the loading takes forever and the game is only 35MB. I actually thought it crashed but after 10 minutes it finally did start.
The Google Chrome developer log showed me this:
I have bold’ed the two interesting parts.
I am already publishing to gzip (see attached screenshot), so what does the comment mean about hosting .unityweb files using gzip compression? What is it referring to?
Also, what can I do about the WebAssembly.Module error? Is it the reason why everything loads so slow?
You have to configure the server where your game is hosted to serve the files with the header “Content-Encoding: gzip” or br for those that use brotli.
how do you configure it though? is it just placing files in the right folder, or something more? having same issues. edit: got it, yeh just had to edit the file and do a bit of trail and error it works, amazing! loving unity and webgl right now.