Unity 5b9 - WebGL empty project build fail

Every thime I try to compile a project, even an empty one I get this error. Please Help.

Error building Player: Exception: Failed building WebGL Player: “C:\Program Files\Unity 5.0.0b9\Editor\Data\PlaybackEngines\webglsupport/BuildTools/Emscripten_Win/python/2.7.5.3_64bit/python.exe” “C:\Program Files\Unity 5.0.0b9\Editor\Data\PlaybackEngines\webglsupport/BuildTools/Emscripten/emcc” @“E:/RepositorySVN/WebGLTest/WebGLTestUnity/Assets/…/Temp/emcc_arguments.resp”

Hello Victor,

in your User directory, there is a .emscripten_cache folder. Please get rid of it and try again, it should fix your issues.

Hey, I had the exact same error. Fixed it by fixing errors in a .jslib file. (Maybe add verification not in the final phase of compiling :stuck_out_tongue: )

Thanks a lot Gabriele, that has fix it ^.^

You are welcome :wink:

I’m having this issue on OS X, does the “.emscripten_cache” folder exist somewhere? I’m unable to find it.

Yes, it’s in your user folder and is called “.emscripten_cache”. Starting names with “.” hides them by default in OS X, so you can show them or use the shell.

–Eric

Ok, thought so. So I guess I’m getting the same error for a different reason then, since that folder doesn’t seem to be present. Already filed a bug report, btw.

Edit: Nevermind, I was still looking in the Users folder, not the current User’s folder. Problem solved =-) Thanks!

Moved my question to another thread.