Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

A question about the WebAssembly workflow.

Discussion in '5.6 Beta' started by StaffanEk, Feb 24, 2017.

  1. StaffanEk

    StaffanEk

    Joined:
    Jul 13, 2012
    Posts:
    380
    I haven't been able to build a WebAssembly WebGL build due to bugs (reports filed). I have a question about the workflow, is it possible to include both old WebGL builds as well as WebAsm in the same build? So that a user who has a beta browser can benefit from my future WebGL builds immediately and automagically?
     
  2. Schubkraft

    Schubkraft

    Unity Technologies

    Joined:
    Dec 3, 2012
    Posts:
    1,073
    There are fixes incoming for the 5.6RC for wasm to make it work with the latest spec changes.

    When you enable wasm in the build settings the output will include asm and wasm code files and each will be chosen depending on browser support.

    This test build http://files.unity3d.com/stefan/webgl/560ftp/wasmtest/index.html should work with latest canary and FF wasm enabled and use asm in all other browsers.

    Disclaimer: this feature is still in "experimental" mode.
     
  3. StaffanEk

    StaffanEk

    Joined:
    Jul 13, 2012
    Posts:
    380
    Thanks for the info.