Unityb14, fastest optimisation level build error

I get similar problem as described in this thread, when I am trying to build my projects. But here is more information about my setup:

  • OS X 10.10.1
  • Unity5b14
  • Project is not empty (it’s huge!)
  • I am using fastest optimisation level (so the slowest build)
Error building Player: Exception: Failed building WebGL Player: python "/Applications/Unity5.0.14/Unity.app/Contents/PlaybackEngines/WebGLSupport/BuildTools/Emscripten/emcc" @"/Users/user-name/Developer/project-name/UnityProject/project-name/Assets/../Temp/emcc_arguments.resp"

I already tried to clear emcc cache from user’s home directory

$ rm -rf .emscripten_cache .emscripten_cache__last_clear

But it doesn’t help me at all. I get this error at ~30 minute of building process.

Oh and also everything works, when I try fastest build (slow optimisation level).
I just wanted to test how game will behave on most optimised build, because with slow optimisation level game is really slow and also works only in firefox and safari on OS X. Tried to launch the game on Chrome (OS X) and Chrome shows me that the content crashed. On windows could get it run in any browser.

Does anyone know, what can be a reason of this error?

Just tested on fast optimisation level - everything builds well. So I face this problem only on fastest optimisation level.

@anon_36705745 - I’m working on the same project as the original poster. Can we send you our project so you can reproduce this?