Search Issue Tracker

Fixed in Unity 2017.2



Found in


Issue ID




[WebGL] IL2CPP.exe fails on clean Windows 7 install




Priority: 2Necessary for shipping a final release


Severity: 1Crash or major loss of functionality

-e: see above, il2cpp.exe fails with errors (see log) stopping the build
--works with 5.6.2f1, stops working with 2017.1b2
--Windows 7 with all latest Windows (July 11th)
--also installed which didn't solve the issue

--install a clean Win7 version (used a VM)
--install 2017.1 build
--start a WebGL build
--NOTICE that it fails with errors starting with:

Building build.bc with EmscriptenToolChain.
Output directory: C:\Users\Stefan\Documents\New Unity Project\Temp\StagingArea\Data\Native
Cache directory: C:\Users\Stefan\Documents\New Unity Project\Library\il2cpp_cache
il2cpp.exe didn't catch exception: Unity.IL2CPP.Building.BuilderFailedException: INFO:root:Checking JS engine ['C:/Program Files/Unity/2017.1.0f2/Editor/Data\\Tools\\nodejs\\node.exe', '--stack_size=8192', '--max-old-space-size=2048'] failed. Check your config file. Details: Expected the command ['C:/Program Files/Unity/2017.1.0f2/Editor/Data\\Tools\\nodejs\\node.exe', '--stack_size=8192', '--max-old-space-size=2048', 'C:\\Program Files\\Unity\\2017.1.0f2\\Editor\\Data\\PlaybackEngines\\WebGLSupport\\BuildTools\\Emscripten\\src\\hello_world.js'] to finish with return code 0, but it returned with code -1073741819 instead! Output:
WARNING:root:did not see a source tree above or next to the LLVM root directory (guessing based on directory of C:\Program Files\Unity\2017.1.0f2\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten_FastComp_Win\llc), could not verify version numbers match
INFO:root:(Emscripten: Running sanity checks)
CRITICAL:root:The JavaScript shell used for compiling (['C:/Program Files/Unity/2017.1.0f2/Editor/Data\\Tools\\nodejs\\node.exe', '--stack_size=8192', '--max-old-space-size=2048']) does not seem to work, check the paths in C:\Program Files\Unity\2017.1.0f2\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\emscripten.config

Comments (1)

  1. 8392a807beb5133cc5479b9a829a964a?d=mm


    Jul 25, 2017 03:18

All about bugs

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