webGL build crashes on startup on OSX Chrome

The crash on OSX Chrome:
Invoking error handler due to Uncaught RangeError: Maximum call stack size exceeded
SV-fast-opt.js:1 Uncaught RangeError: Maximum call stack size exceeded
SV-fast-opt.js:1 asm.Math SV-fast-opt.js:246 (anonymous function)
debug.js:3258 domReady

It works on OSX Firefox and Windows Chrome & Firefox. Only OSX Chrome does not load.

Are there known issues here or should this be working?

This has been a problem since we started working on the webGL build in beta14. I’ve now tried with beta17 and it’s still happening.

Build settings:

  • optimization level fast
  • explicitly thrown exceptions only
  • api level: .net 2.0 subset
  • stripping: strip byte code

I can’t test optimization level “fastest” because of unity 5 beta 14 webgl error - Unity Engine - Unity Discussions

I’m not using any special version of Chrome on OSX, right now it’s version 39.0.2171.95 (64-bit)

Could you report a bug on this with a repro case?

@jonas-echterhoff_1 - I would love to, but our project is many gigabytes large so I don’t think I can actually upload it via the bug reporting tool. Is there any way I can add you to our github repo and you can just grab the project from there? If so, just tell me your github name and I’ll give you access.

edit: nevermind, I was able to upload our whole project from the bug reporting tool.

@jonas-echterhoff_1 - Were you able to reproduce this error as well, using my uploaded project? It’s the same bug as in the other thread (bug report #657693)