Search Issue Tracker

Duplicate

Votes

5

Found in

5.6.0f1

Issue ID

891835

Regression

No

[WASM] scene throws asm.setThrew

WebGL

-

-

Priority: 3Not yet prioritized for a release

-

Severity: 3Workaround is possible

-e: so this is only half broken, the scene throws an exception in editor too but when played in with WASM throws the error reported by forum folks so this might be a first lead until we get their repro
-https://forum.unity3d.com/threads/webassembly-error-asm-setthrew.461046/

-repro:
--open attached scene
--make wasm build
--run in wasm browser
--NOTICE error being thrown
---TypeError: asm.setThrew is not a function

Comments (2)

  1. F4f819806c1c6a1dab5add1c3c8755dd?d=mm

    twobob

    Apr 18, 2017 14:20

    Same. Release 5.6. f3

  2. 9f9ded7b3c0ef24700d3897153b00bee?d=mm

    lovelle_reflexion

    Apr 06, 2017 02:57

    This seems to be a problem with throwing and catching in WebAssembly in general. If the build has "Explicitly Thrown Exceptions Only" enabled, it should allow throwing and catching errors, but instead at runtime it exceptions with "asm.setthrew is not a function" as soon as the exception is thrown.

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.