Asm vs. wasm files

Hello,

I created a webGL build for a super simple (hello world type) project. Unity output 4 files:

someProject.data
someProject.framework
someProject.loader
someProject.wasm

I then created something more involved but the output is quite different:

someProject.asm.framework
someProject.asm
someProject.asm.loader
someProject.asm.mem
someProject.data

Why are the asm files created at times and the wasm file at others? I would bet money that the player settings are identical.

Any help would be greatly appreciated.

You never mentioned your editor version so it’s very hard to help you.

If we are betting money, ASM target hasn’t been supported since 2019.1. So you probably switched target in-between builds.

See: Unity - Manual: Building and running a WebGL project

sorry - recently upgraded to 2020.3.17f1

Took me a while to figure out what you were saying, but I finally realized that my project was originally created in version 2018.x. So I opened the project in 2018.x and the target was indeed asm. I changed it, upgraded and all is good. Seems odd that setting would persist without a simple way to change it in 2020.x but I am happy …

Thanks so much!

1 Like