WebGL crash after load (uncaught exception: abort(81) at jsStackTrace...)

I’m getting an error when I run my WebGL project. It first loads, but then it gives this error in a popup:

And then when I open the console I get this:

I don’t really see what’s going wrong. Anyone any idea? It works fine in the editor.

Build with Unity 5.2.1p2 (and also tried p1), on both windows and mac.

I can’t tell what is going on from the logs. My best guess would be a stripping issue - does it work if you disable “Strip Engine code” in WebGL player settings?

You can file a bug with a repro case, and post the case number here, then we can take a look.

It does indeed work when I disable the engine code stripping. Thanks!

I also reported a bug, the case number: 733661.

Got a mail that they checked this. It will be fixed in Unity 5.3. They also provided a simple temporary workaround: just add an empty OnGUI method in your code.