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 (1)

  1. 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)

All about bugs

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