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
Comments (1)
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
- ScrollView clips content when under an ancestor that has a filter set
- "Retrieving array element that was out of bounds" error thrown when attempting to remove a column from a Multi-Column List View
- Multi-Column List View horizontal scroll resets to left most position when scrolling vertically
- Floating License is lost for concurrent jobs
- Warning "Failed to insert item" is logged when Assigning Project to Organization's Project in the Project Settings
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.