If your having problems building to webGL and you get a error similar to this:
Failed running “C:\Program Files\Unity 5.1.0b3\Editor\Data\PlaybackEngines\webglsupport/BuildTools/Emscripten_Win/python/2.7.5.3_64bit/python.exe” “C:\Program Files\Unity 5.1.0b3\Editor\Data\PlaybackEngines\webglsupport/BuildTools/Emscripten/emcc” @“C:/Users/*******/Documents/2. WORK/1. CURRENT PROJECTS/Unity/UN dog chest NEW/Assets/…/Temp/emcc_arguments.resp”
stdout:
WARNING: sanity check failed to run [Errno 13] Permission denied: ‘C:\Program Files\Unity 5.1.0b3\Editor\Data\PlaybackEngines\webglsupport/BuildTools/emscripten.config_sanity’
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)
UnityEditor.HostView:OnGUI()
The easiesy solution I found was to move your project to root of c:/ and then build it from there. It worked for me
I would of added my solution here: Failed building WebGL Player - Unity Engine - Unity Discussions but I can’t.
it looks like you are using an old Beta version (5.1.0b3), I strongly recommend you to use the latest 5.1.x patch instead.