Search Issue Tracker

Fixed in 5.3.6

Votes

0

Found in

5.3.4f1

Issue ID

786499

Regression

No

[WebGL] build fails with Emscripten "Failed running python" error and IL2CPP expceptions

WebGL

-

Steps to reproduce:
1) open users attached project
2) build for WebGL

- fails to build

note: error messages attached to edit

Comments (5)

  1. C3bf6e7be7c56308f8247eecd9234b71?d=mm

    vijayasanap

    Jun 25, 2021 08:41

    Hello,
    Unity Failed running python.exe when building webgl?
    I'm trying to build a unity3d project, however when I do I get an bugs and cannot recognised where the bugs actually is, it started around the same time I introduced the newsoft and restsharp dll's, though the bug remained after I excludes those two packages.
    For More Details Visit: technobridge.in/full-stack-developer-course.html

  2. D1c956e02868bb112cab5bbf456e9dc8?d=mm

    anamikasinghsi

    Apr 07, 2021 17:15

    rubixmarketresearch.com

  3. 9e7d56095bdc8e2452a2e36f0f34c486?d=mm

    itirupati

    Aug 03, 2020 20:09

    Hey guys,

    Desperate to find out how to fix this...

    Build keep failing, been at this for hours.

    Failed running "C:\Program Files\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten_Win\python\2.7.5.3_64bit\python.exe" "C:\Program Files\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\emcc" @"G:\Documents\Jobs\Justin\Metropolitan\Game1\Game One - Copy (2)\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 error: Linking globals named '_ZTTN10ClipperLib7ClipperE': symbol multiply defined! Traceback (most recent call last): File "C:\Program Files\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\emcc", line 13, in emcc.run() File "C:\Program Files\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\emcc.py", line 1640, in run final = shared.Building.llvm_opt(final, link_opts, DEFAULT_FINAL) File "C:\Program Files\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\tools\shared.py", line 1638, in llvm_opt assert os.path.exists(target), 'Failed to run llvm optimizations: ' + output AssertionError: Failed to run llvm optimizations:

    https://www.bluemap.co/courses/course-detail-cisco-sd-wan.php

  4. 3c33880394f3d7097dcc402e828cac24?d=mm

    Akashraj12

    Jul 16, 2020 10:40

    HI,
    Unity Failed running python.exe when building webgl?
    I'm trying to build a unity3d project, however when I do I get an error and cannot figure out where the error actually is, it started around the same time I introduced the newsoft and restsharp dll's, though the error remained after I removed those two packages.
    For More Details Visit:

    https://www.sevenmentor.com/best-python-classes-in-pune.php

  5. 06846b018cd8960ae8ce68ec7311cc2b?d=mm

    kamanijenis16

    Feb 05, 2019 17:33

    Failed running python "/Applications/Unity/Hub/Editor/2018.3.0f2/PlaybackEngines/WebGLSupport/BuildTools/Emscripten/emcc" @"/Users/kamanijenis/Project/Unity Project/NavKukri WebGL/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. [-Wseparate-asm][0;33mwarning:[0m unexpected number of arguments 1 in call to '__cxa_pure_virtual', should be 0[0;33mwarning:[0m unexpected number of arguments 4 in call to '_ZN6il2cpp6icalls8mscorlib6System6String22RedirectToCreateStringEv', should be 0[0;33mwarning:[0m unexpected number of arguments 4 in call to '_ZN6il2cpp6icalls8mscorlib6System6String22RedirectToCreateStringEv', should be 0[0;33mwarning:[0m unexpected number of arguments 2 in call to '_ZN6il2cpp6icalls8mscorlib6System6String22RedirectToCreateStringEv', should be 0[0;33mwarning:[0m unexpected number of arguments 3 in call to '_ZN6il2cpp6icalls8mscorlib6System6String22RedirectToCreateStringEv', should be 0warning: missing library dependency rand, make sure you are compiling with the right options (see #ifdefs in src/library*.js)warning: missing library dependency rand, make sure you are compiling with the right options (see #ifdefs in src/library*.js)warning: missing library dependency rand, make sure you are compiling with the right options (see #ifdefs in src/library*.js)warning: missing library dependency rand, make sure you are compiling with the right options (see #ifdefs in src/library*.js)warning: missing library dependency rand, make sure you are compiling with the right options (see #ifdefs in src/library*.js)warning: missing library dependency rand, make sure you are compiling with the right options (see #ifdefs in src/library*.js)error: unresolved symbol: _TAG_DismissCurrentAlerterror: unresolved symbol: _TAG_RedirectToAppStoreRatingPageerror: unresolved symbol: _TAG_RedirectToWebPageerror: unresolved symbol: _TAG_ShowDialogerror: unresolved symbol: _TAG_ShowMessageerror: unresolved symbol: _TAG_ShowRateUsPopUpwarning: missing library dependency rand, make sure you are compiling with the right options (see #ifdefs in src/library*.js)warning: missing library dependency rand, make sure you are compiling with the right options (see #ifdefs in src/library*.js)warning: missing library dependency rand, make sure you are compiling with the right options (see #ifdefs in src/library*.js)warning: missing library dependency rand, make sure you are compiling with the right options (see #ifdefs in src/library*.js)warning: missing library dependency rand, make sure you are compiling with the right options (see #ifdefs in src/library*.js)warning: missing library dependency rand, make sure you are compiling with the right options (see #ifdefs in src/library*.js)warning: missing library dependency rand, make sure you are compiling with the right options (see #ifdefs in src/library*.js)warning: missing library dependency rand, make sure you are compiling with the right options (see #ifdefs in src/library*.js)warning: missing library dependency rand, make sure you are compiling with the right options (see #ifdefs in src/library*.js)warning: missing library dependency rand, make sure you are compiling with the right options (see #ifdefs in src/library*.js)Aborting compilation due to previous errors | undefinedTraceback (most recent call last): File "/Applications/Unity/Hub/Editor/2018.3.0f2/PlaybackEngines/WebGLSupport/BuildTools/Emscripten/emcc", line 11, in <module> python_selector.run(__file__) File "/Applications/Unity/Hub/Editor/2018.3.0f2/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 "/Applications/Unity/Hub/Editor/2018.3.0f2/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 "/Applications/Unity/Hub/Editor/2018.3.0f2/PlaybackEngines/WebGLSupport/BuildTools/Emscripten/emcc.py", line 1639, in run final = shared.Building.emscripten(final, append_ext=False, extra_args=extra_args) File "/Applications/Unity/Hub/Editor/2018.3.0f2/PlaybackEngines/WebGLSupport/BuildTools/Emscripten/tools/shared.py", line 2021, in emscripten emscripten._main(cmdline) File "/Applications/Unity/Hub/Editor/2018.3.0f2/PlaybackEngines/WebGLSupport/BuildTools/Emscripten/emscripten.py", line 2349, in _main temp_files.run_and_clean(lambda: main( File "/Applications/Unity/Hub/Editor/2018.3.0f2/PlaybackEngines/WebGLSupport/BuildTools/Emscripten/tools/tempfiles.py", line 93, in run_and_clean return func() File "/Applications/Unity/Hub/Editor/2018.3.0f2/PlaybackEngines/WebGLSupport/BuildTools/Emscripten/emscripten.py", line 2354, in <lambda> DEBUG=DEBUG, File "/Applications/Unity/Hub/Editor/2018.3.0f2/PlaybackEngines/WebGLSupport/BuildTools/Emscripten/emscripten.py", line 2262, in main temp_files=temp_files, DEBUG=DEBUG) File "/Applications/Unity/Hub/Editor/2018.3.0f2/PlaybackEngines/WebGLSupport/BuildTools/Emscripten/emscripten.py", line 95, in emscript glue, forwarded_data = compiler_glue(metadata, settings, libraries, compiler_engine, temp_files, DEBUG) File "/Applications/Unity/Hub/Editor/2018.3.0f2/PlaybackEngines/WebGLSupport/BuildTools/Emscripten/emscripten.py", line 227, in compiler_glue glue, forwarded_data = compile_settings(compiler_engine, settings, libraries, temp_files) File "/Applications/Unity/Hub/Editor/2018.3.0f2/PlaybackEngines/WebGLSupport/BuildTools/Emscripten/emscripten.py", line 542, in compile_settings cwd=path_from_root('src'), error_limit=300) File "/Applications/Unity/Hub/Editor/2018.3.0f2/PlaybackEngines/WebGLSupport/BuildTools/Emscripten/tools/jsrun.py", line 132, in run_js raise Exception('Expected the command ' + str(command) + ' to finish with return code ' + str(assert_returncode) + ', but it returned with code ' + str(proc.returncode) + ' instead! Output: ' + str(ret)[:error_limit])Exception: Expected the command ['/Applications/Unity/Hub/Editor/2018.3.0f2/Unity.app/Contents/Tools/nodejs/bin/node', '--stack_size=8192', '--max-old-space-size=4096', '/Applications/Unity/Hub/Editor/2018.3.0f2/PlaybackEngines/WebGLSupport/BuildTools/Emscripten/src/compiler.js', '/tmp/tmpSDbypN.txt', '/Applications/Unity/Hub/Editor/2018.3.0f2/PlaybackEngines/WebGLSupport/BuildTools/lib/Audio.js', '/Applications/Unity/Hub/Editor/2018.3.0f2/PlaybackEngines/WebGLSupport/BuildTools/lib/Cursor.js', '/Applications/Unity/Hub/Editor/2018.3.0f2/PlaybackEngines/WebGLSupport/BuildTools/lib/Eval.js', '/Applications/Unity/Hub/Editor/2018.3.0f2/PlaybackEngines/WebGLSupport/BuildTools/lib/FileSystem.js', '/Applications/Unity/Hub/Editor/2018.3.0f2/PlaybackEngines/WebGLSupport/BuildTools/lib/Logging.js', '/Applications/Unity/Hub/Editor/2018.3.0f2/PlaybackEngines/WebGLSupport/BuildTools/lib/Profiler.js', '/Applications/Unity/Hub/Editor/2018.3.0f2/PlaybackEngines/WebGLSupport/BuildTools/lib/SystemInfo.js', '/Applications/Unity/Hub/Editor/2018.3.0f2/PlaybackEngines/WebGLSupport/BuildTools/lib/UnetWebSocket.js', '/Applications/Unity/Hub/Editor/2018.3.0f2/PlaybackEngines/WebGLSupport/BuildTools/lib/Video.js', '/Applications/Unity/Hub/Editor/2018.3.0f2/PlaybackEngines/WebGLSupport/BuildTools/lib/WebCam.js', '/Applications/Unity/Hub/Editor/2018.3.0f2/PlaybackEngines/WebGLSupport/BuildTools/lib/WebGL.js', '/Applications/Unity/Hub/Editor/2018.3.0f2/PlaybackEngines/WebGLSupport/BuildTools/lib/WebRequest.js', '/Users/kamanijenis/Project/Unity Project/NavKukri WebGL/Library/PackageCache/com.unity.facebook.gameroom.sdk@7.13.0/Runtime/CanvasJSSDKBindings.jslib', '/Applications/Unity/Hub/Editor/2018.3.0f2/PlaybackEngines/WebGLSupport/BuildTools/Emscripten/src/library_pthread_stub.js'] to finish with return code 0, but it returned with code 1 instead! Output: // The Module object: Our interface to the outside world. We import// and export values on it. There are various ways Module can be used:// 1. Not defined. We create it here// 2. A function parameter, function(Module) { ..generated code.. }// 3. pre-run appended it, var Module = {}; ..generated
    UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

Add comment

Log in to post comment

All about bugs

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