Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

asm vs. wasm files

Discussion in 'WebGL' 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:
    379
  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.