I want to reduce the size of the .wasm file

I have done the following to shrink .wasm files, but is there any other way to make .wasm files smaller?

Build Settings > Code Optimization : Disk Size
Project Settings > Player > OtherSettings > IL2CPP Code Generation : Faster (smaller) builds , Managed Stripping Level : High

In the Build Settings dialog choose a compression algorithm. Use compressed textures and reduce the max texture size and in player settings force a lower mipmap level when using mipmaps. Use the build log or an „asset hunter“ asset to determine both the largest files and any files that shouldn‘t be in the build (ie test assets).

I had already set the texture size.
The mipmap is a little smaller in size. Thanks.

If using URP, disable post-processing if you’re not using it. It will strip a lot of shaders/textures from the build.

1 Like