Search Issue Tracker
Fixed in 2017.2.0f3
Votes
4
Found in
2017.1.0f2
Issue ID
929988
Regression
Yes
[WebGL] IL2CPP.exe fails on clean Windows 7 install
-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 https://www.microsoft.com/en-gb/download/details.aspx?id=48145 which didn't solve the issue
-repro:
--install a clean Win7 version (used a VM)
--install 2017.1 build
--start a WebGL build
--NOTICE that it fails with errors starting with:
stdout:
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
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
jovalent
Jul 25, 2017 03:18
I found a workaround in http://answers.unity3d.com/questions/1380601/when-trying-to-build-space-shooter-game-given-in-t.html?childToView=1383977#answer-1383977
Try setting stack_size to a lower value in enscripten.config.