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” @“C:/Users/me/Desktop/development/unity_projects/unity5/shapeClicker/Shape Clicker/Assets/…/Temp/emcc_arguments.resp”
stdout:
WARNING: sanity check failed to run [Errno 13] Permission denied: ‘C:\Program Files\Unity\Editor\Data\PlaybackEngines\webglsupport/BuildTools/emscripten.config_sanity’
WARNING: sanity check failed to run [Errno 13] Permission denied: 'C:\Program …
Exception: Failed building WebGL Player. UnityEditor.WebGL.ProgramUtils.StartProgramChecked (UnityEditor.Utils.Program p) UnityEditor.WebGL.WebGlBuildPostprocessor.PostProcess (BuildPostProcessArgs args) UnityEditor.PostprocessBuildPlayer.Postprocess (BuildTarget target, System.String installPath, System.String companyName, System.String productName, Int32 width, Int32 height, System.String downloadWebplayerUrl, System.String manualDownloadWebplayerUrl, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:316)
It happens after native compile to JS.
I’ve tried with the memory limit at 256 and 512.
I am using Unity 5.1.1f1.
I am using a 64 bit windows machine.
I have tried it in slow and fastest mode.
I found these.
http://forum.unity3d.com/threads/failed-building-webgl-player.321433/
The second one seems like there is a bug in Unity. I tried to comment but apparently I don’t have the privileges.
I installed cmake but it didn’t work. I also use Visual Studio to write my code.
Anybody have any experience with this bug and know more about it?
Thanks.