Search Issue Tracker
Fixed in 2018.2.X
Votes
0
Found in
2018.1.0f2
Issue ID
1032960
Regression
No
[WebGL] Web Assembly build fails with error when Exceptions are enabled
Steps to reproduce:
1. Open user-submitted project "ProjectQuestIon.zip"
2. Build for WebGL (make sure Linker Target is WebAssembly and Enable Exceptions is set to Full With Stacktrace)
Expected result: build does not fail
Actual result: build fails with the following error:
Failed running "X:\PATH_TO_UNITY\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten_Win\python\2.7.5.3_64bit\python.exe" "X:\PATH_TO_UNITY\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\emcc" @ "X:\PATH_TO_ATTACHED_PROJECT\case_1032960-ProjectQuestIon\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` filewarning: unresolved symbol: openWindowTraceback (most recent call last): File "C:\Program Files\2018.1\2018.1.0f2_d4d99f31acba\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\emcc", line 13, in <module> emcc.run() File "C:\Program Files\2018.1\2018.1.0f2_d4d99f31acba\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\emcc.py", line 2145, in run subprocess.check_call(cmd) File "C:\Program Files\2018.1\2018.1.0f2_d4d99f31acba\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten_Win\python\2.7.5.3_64bit\lib\subprocess.py", line 542, in check_call raise CalledProcessError(retcode, cmd)subprocess.CalledProcessError: Command '[u'C:\\Program Files\\2018.1\\2018.1.0f2_d4d99f31acba\\Editor\\Data\\PlaybackEngines\\WebGLSupport\\BuildTools\\Emscripten_FastComp_Win\\binaryen\\bin\\asm2wasm', 'C:\\Users\\default.DESKTOP-AEA1AI9\\Desktop\\Week 19\\case_1032960-ProjectQuestIon\\Temp\\StagingArea\\Data\\linkresult_wasm\\build.asm.js', '--total-memory=536870912', '-O3', '--mem-init=C:\\Users\\default.DESKTOP-AEA1AI9\\Desktop\\Week 19\\case_1032960-ProjectQuestIon\\Temp\\StagingArea\\Data\\linkresult_wasm\\build.js.mem', '--mem-base=1024', '--wasm-only', '--symbolmap=C:\\Users\\default.DESKTOP-AEA1AI9\\Desktop\\Week 19\\case_1032960-ProjectQuestIon\\Temp\\StagingArea\\Data\\linkresult_wasm\\build.js.symbols', '-o', 'C:\\Users\\default.DESKTOP-AEA1AI9\\Desktop\\Week 19\\case_1032960-ProjectQuestIon\\Temp\\StagingArea\\Data\\linkresult_wasm\\build.wasm']' returned non-zero exit status -1073741571
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Reproduced with: 2017.2.0f3, 2017.3.1f1, 2017.4.4f1, 2018.1.0f2, 2018.2.0b6
Not reproduced with: 2018.2.X
Comments (8)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Inspector elements are rendered twice when the script component is added via drag-and-drop while the HideFlags.HideInInspector property is set
- Error "Light baking failed with error code 5 (Convergence data not available while rendering lightmaps)" thrown in Console when generating lighting for specific GameObjects
- Copy and Paste options for an Animation Property value are disabled in the Right click contextual menu
- Asset is not found when searching the Label "NewLabel" in Search Window
- "Compute dispatch: missing texture ID..." and "Compute dispatch: missing UAV ID..." warnings are thrown after changing the platform in High Definition 3D template
ahmedaniss
Jun 14, 2020 04:43
i fix this problem here https://youtu.be/uRxjC-d1b0g
ahmedaniss
Dec 02, 2019 22:38
i fix this problem here : https://www.youtube.com/watch?v=_Jl0q5U3R1A you can follow my step to fix this problem .
unity_3jbc22
Jul 23, 2019 21:33
I got this error in 2019.1.0f2
Darth-Zoddo
Jan 31, 2019 07:49
Reproduced in 2018.2.9f1
blue-mile
Aug 07, 2018 05:04
I'm having the same problem in 2018.2.2f1
guydunkski
Jul 09, 2018 12:44
I must joib ROYVANEIJNDHOVEN question, this is quite critical if your target platform is WebGL and on the LTS version those kind of bugs should be fixed. Quite hard to debug Webgl without the stack trace!
Roywise
Jul 05, 2018 13:29
Will this fix be backported to 2017.4 LTS? The description does not say.
Mindslicer
Jun 20, 2018 07:22
Got same error