Search Issue Tracker

Fixed in Unity 2017.1

Votes

1

Found in

5.6.0f1

Issue ID

892185

Regression

No

[WASM] building with full exceptions fails

WebGL

-

-

Priority: 2Necessary for shipping a final release

-

Severity: 2No workaround

-e: see title, fails with build error
--works fine with just asm.js

-repro:
--create new project
--enable WASM and full exception support
--build for WebGL
--NOTICE it fails giving the following error:

Failed running "D:\Unity Installs\5.6.0f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten_Win\python\2.7.5.3_64bit\python.exe" "D:\Unity Installs\5.6.0f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\emcc" @"D:\Work\Bugs\WASM_Except\Assets\..\Temp\emcc_arguments.resp"

stdout:
stderr:WARNING:root:--separate-asm works best when compiling to HTML. otherwise, you must yourself load the '.asm.js' file that is emitted separately, and must do so before loading the main '.js` file
warning: unresolved symbol: glGetInternalformativwarning: unresolved symbol: _ZN4FMOD13DSPConnection6setMixEfwarning: unresolved symbol: glUnmapBufferwarning: unresolved symbol: glMapBufferRangewarning: unresolved symbol: glFlushMappedBufferRangeTraceback (most recent call last):

Comments (3)

  1. Ecaef9fa69f878380c93b850a8593b46?d=mm

    TaleOf4Gamers

    Jan 13, 2018 11:31

    Fixed - my fault, I was using the wrong syntax. I used:

    function functionName () {}

    instead of the suggested:

    functionName: function () {}

    Lesson: actually read the docs ;)

  2. Ecaef9fa69f878380c93b850a8593b46?d=mm

    TaleOf4Gamers

    Jan 13, 2018 11:27

    Im using 2017.3 just FYI

  3. Ecaef9fa69f878380c93b850a8593b46?d=mm

    TaleOf4Gamers

    Jan 13, 2018 11:27

    I just got this error.

All about bugs

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