Search Unity

asm.setThrew is not a function

Discussion in 'Web' started by sirrus, Apr 24, 2017.

  1. sirrus

    sirrus

    Joined:
    Jun 10, 2012
    Posts:
    250
    So we're getting the "asm.setThrew is not a function error" in a 5.6.0f3 WebAssembly build.

    Others reported it here:
    https://forum.unity3d.com/threads/webassembly-error-asm-setthrew.461046/
    and
    https://issuetracker.unity3d.com/issues/wasm-scene-throws-asm-dot-setthrew

    Based on the bug report, this is fixed but we will have to UPGRADE (i.e PAY) to Unity 2017.1 to get the fix?!

    Exception handling - as a part of the WebGL framework - is not something that should require a full version release to be fixed, IMO. There is no possibility of a patch for this?

    We are still trying to workaround the issue (i.e, NO exception handling) but this would impact the regular WebGL release as well if trying to accommodate both WASM and WEBGL. :mad:
     
  2. Marco-Trivellato

    Marco-Trivellato

    Unity Technologies

    Joined:
    Jul 9, 2013
    Posts:
    1,654
    We had a fix but then found it had a knock-on effect on asm.js so we need to spend a bit more time on it.
    Once we fix it 2017.1, we will evaluate the risks of back-porting it to 5.6

    Stay tuned...
     
    tonialatalo likes this.
  3. sirrus

    sirrus

    Joined:
    Jun 10, 2012
    Posts:
    250
    Thanks very much, Marco.
     
  4. Kurius

    Kurius

    Joined:
    Sep 29, 2013
    Posts:
    412
    @Marco-Trivellato has this been fixed yet? Which version of Unity has this fixed? Thanks
     
  5. Marco-Trivellato

    Marco-Trivellato

    Unity Technologies

    Joined:
    Jul 9, 2013
    Posts:
    1,654
    Patch 5.6.1p4