webAssembly larger file size?

Hello,

with webgl webassembly build of an empty scene with brotli encryption, I’m getting a file size of 3.8MB while the webgl results in 2.3 MB

Any ideas why is this happening ?

( I’m using unity 2017.1 )

If you were to look into the Build folder of your build then you’d see that with a WASM build we emit both, asm and wasm, code files. The asm is used by browsers which don’t support wasm yet. If you are sure your users never use browsers that don’t support wasm you can delete the asm files.