- Home /
Can't build on WebGL
Hi,
I can't build my project on WebGL and all my other colleagues sharing the project in GitLab can.
I've searched all over the internet for several days but I can't find a proper solution. None of these solutions works for me.
When I launch the build I've got the following message at the very end of the build:
Failed running "C:\Program Files\Unity\Hub\Editor\2018.3.6f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten_Win\python\2.7.5.3_64bit\python.exe" "C:\Program Files\Unity\Hub\Editor\2018.3.6f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\emcc" @"D:\GitHub\7Angels\Assets..\Temp\emcc_arguments.resp"
stdout: stderr:Traceback (most recent call last): File "C:\Program Files\Unity\Hub\Editor\2018.3.6f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\emcc", line 11, in python_selector.run(file) File "C:\Program Files\Unity\Hub\Editor\2018.3.6f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\tools\python_selector.py", line 38, in run sys.exit(run_by_import(filename, main) if on_allowed_version() else run_by_subprocess(filename)) File "C:\Program Files\Unity\Hub\Editor\2018.3.6f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\tools\python_selector.py", line 13, in run_by_import return getattr(importlib.import_module(os.path.basename(filename)), main)() File "C:\Program Files\Unity\Hub\Editor\2018.3.6f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\emcc.py", line 1902, in run wasm_text_target, misc_temp_files, optimizer) File "C:\Program Files\Unity\Hub\Editor\2018.3.6f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\emcc.py", line 2373, in do_binaryen subprocess.check_call(cmd) File "C:\Program Files\Unity\Hub\Editor\2018.3.6f1\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 '['C:\\Program Files\\Unity\\Hub\\Editor\\2018.3.6f1\\Editor\\Data\\PlaybackEngines\\WebGLSupport\\BuildTools\\Emscripten_FastComp_Win\\binaryen\\bin\\asm2wasm', 'D:\\GitHub\\7Angels\\Temp\\StagingArea\\Data\\linkresult_wasm\\build.temp.asm.js', '--total-memory=1073741824', '--trap-mode=clamp', '-O3', '--mem-init=D:\\GitHub\\7Angels\\Temp\\StagingArea\\Data\\linkresult_wasm\\build.js.mem', '--mem-base=1024', '--wasm-only', '--symbolmap=D:\\GitHub\\7Angels\\Temp\\StagingArea\\Data\\linkresult_wasm\\build.js.symbols', '-o', 'D:\\GitHub\\7Angels\\Temp\\StagingArea\\Data\\linkresult_wasm\\build.wasm']' returned non-zero exit status -1073741819 UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Your answer
![](https://koobas.hobune.stream/wayback/20220612204021im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Why can't I build Web Player in Unity while I have no problems with building standalone versions? 2 Answers
il2cpp error when compiling for webGL in version 2017.1.0 5 Answers
System cannot find the file specified. WebGL build 0 Answers
Error when building for WebGL 0 Answers
WebGL Build Failed? 1 Answer