Cethyrion
Cethyrion

Reputation: 41

Unity 2020 project building asm.js files instead of wasm

I upgraded a project from unity 2018 to unity 2020. the webGL build for unity 2020 should default to wasm (Web assembly) but instead it is building the project with asm.js. I can't figure out how to fix this.

Upvotes: 1

Views: 1478

Answers (2)

Lotte
Lotte

Reputation: 11

You find it in your explorer: Go to your project location, there should be a folder named "ProjectSettings", in there you find the "ProjectSettings.asset". In the file you can now edit parameters by simply writing and saving.

Upvotes: 1

Cethyrion
Cethyrion

Reputation: 41

All I needed to do was edit ProjectSettings/projectsettings.asset and set webGLLinkerTarget: 1

Upvotes: 2

Related Questions