Search Unity

asm vs. wasm files

Discussion in 'Web' started by wbl1, Sep 14, 2021.

  1. wbl1

    wbl1

    Joined:
    Apr 22, 2009
    Posts:
    159
    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.
     
  2. KamilCSPS

    KamilCSPS

    Joined:
    May 21, 2020
    Posts:
    448
  3. wbl1

    wbl1

    Joined:
    Apr 22, 2009
    Posts:
    159
    sorry - recently upgraded to 2020.3.17f1
     
  4. wbl1

    wbl1

    Joined:
    Apr 22, 2009
    Posts:
    159
    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!
     
    KamilCSPS likes this.