Unity - "Error building Player: Exception: Failed building WebGL Player." (Windows 10)

Hello,
I opened the topic in the Editor & General Support but I don’t get answer.
I’ll just copy the topic to here.

http://forum.unity3d.com/threads/unity-error-building-player-exception-failed-building-webgl-player.345700/

I am always getting WebGL compilation errors:

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/Ben/Google Drive/Unity Projects/Portfolio/Memory Game/Memory Game/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’

and

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.BuildPlayerWindow:BuildPlayerAndRun()

I open the Unity as admin and then I got these errors:

And I copied the Editor log file:

Thanks, I hope to get here answer.

That should be fixed with the latest 5.1.x patch

1 Like

Thank you very much for the quick answer! I am downloading now the Patch.