PUN + WebGL crash with Unity 5.3.1f1

Options
I recently upgraded from Unity 5.2.3f1 to 5.3.1f1 and rebuilt a project using PUN. As soon as the scene using PUN is started, the browser throws and exception and the game stops:

An error occured running the Unity content on this page. See your browser's JavaScript console for more info. The error was: Uncaught abort(157) at Error at jsStackTrace (blob:http%3A//localhost/81467601-459e-4f41-9086-30790833fc7b:1270:13) at stackTrace (blob:http%3A//localhost/81467601-459e-4f41-9086-30790833fc7b:1287:22) at abort (blob:http%3A//localhost/81467601-459e-4f41-9086-30790833fc7b:4724456:44) at nullFunc_ii (blob:http%3A//localhost/81467601-459e-4f41-9086-30790833fc7b:16587:464) at Array.b157 (blob:http%3A//localhost/81467601-459e-4f41-9086-30790833fc7b:4718125:32) at __Z24SetPlayerRunInBackgroundb [SetPlayerRunInBackground(bool)] (blob:http%3A//localhost/81467601-459e-4f41-9086-30790833fc7b:892254:36) at Array.__Z42Application_Set_Custom_PropRunInBackgroundh [Application_Set_Custom_PropRunInBackground(unsigned char)] (blob:http%3A//localhost/81467601-459e-4f41-9086-30790833fc7b:1017064:2) at _Application_set_runInBackground_m_1961756033_0 (blob:http%3A//localhost/81467601-459e-4f41-9086-30790833fc7b:3845571:30) at Array._PhotonNetwork__cctor_m339060500_0 (blob:http%3A//localhost/81467601-459e-4f41-9086-30790833fc7b:2642439:2) at Array.__Z33RuntimeInvoker_Void_t_224166001_0PK10MethodInfoPvPS2_ [RuntimeInvoker_Void_t_224166001_0?2(void**, undefined?S?*)] (blob:http%3A//localhost/81467601-459e-4f41-9086-30790833fc7b:4542841:32)

This is what the javascript console prints:

Invalid function pointer called with signature 'ii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)Module.printErr @ UnityLoader.js:145 UnityLoader.js:145 Build with ASSERTIONS=2 for more info.Module.printErr @ UnityLoader.js:145 Build with ASSERTIONS=2 for more info.Module.printErr @ UnityLoader.js:145 UnityLoader.js:141 157 157Module.printErr @ UnityLoader.js:145 UnityLoader.js:145 warning: a problem occurred in builtin C++ name demangling; build with -s DEMANGLE_SUPPORT=1 to link in libcxxabi demanglingModule.printErr @ UnityLoader.js:145 Invoking error handler due to Uncaught abort(157) at Error at jsStackTrace (blob:http%3A//localhost/81467601-459e-4f41-9086-30790833fc7b:1270:13) at stackTrace (blob:http%3A//localhost/81467601-459e-4f41-9086-30790833fc7b:1287:22) at abort (blob:http%3A//localhost/81467601-459e-4f41-9086-30790833fc7b:4724456:44) at nullFunc_ii (blob:http%3A//localhost/81467601-459e-4f41-9086-30790833fc7b:16587:464) at Array.b157 (blob:http%3A//localhost/81467601-459e-4f41-9086-30790833fc7b:4718125:32) at __Z24SetPlayerRunInBackgroundb [SetPlayerRunInBackground(bool)] (blob:http%3A//localhost/81467601-459e-4f41-9086-30790833fc7b:892254:36) at Array.__Z42Application_Set_Custom_PropRunInBackgroundh [Application_Set_Custom_PropRunInBackground(unsigned char)] (blob:http%3A//localhost/81467601-459e-4f41-9086-30790833fc7b:1017064:2) at _Application_set_runInBackground_m_1961756033_0 (blob:http%3A//localhost/81467601-459e-4f41-9086-30790833fc7b:3845571:30) at Array._PhotonNetwork__cctor_m339060500_0 (blob:http%3A//localhost/81467601-459e-4f41-9086-30790833fc7b:2642439:2) at Array.__Z33RuntimeInvoker_Void_t_224166001_0PK10MethodInfoPvPS2_ [RuntimeInvoker_Void_t_224166001_0?2(void**, undefined?S?*)] (blob:http%3A//localhost/81467601-459e-4f41-9086-30790833fc7b:4542841:32) Uncaught abort(157) at Error at jsStackTrace (blob:http%3A//localhost/81467601-459e-4f41-9086-30790833fc7b:1270:13) at stackTrace (blob:http%3A//localhost/81467601-459e-4f41-9086-30790833fc7b:1287:22) at abort (blob:http%3A//localhost/81467601-459e-4f41-9086-30790833fc7b:4724456:44) at nullFunc_ii (blob:http%3A//localhost/81467601-459e-4f41-9086-30790833fc7b:16587:464) at Array.b157 (blob:http%3A//localhost/81467601-459e-4f41-9086-30790833fc7b:4718125:32) at __Z24SetPlayerRunInBackgroundb [SetPlayerRunInBackground(bool)] (blob:http%3A//localhost/81467601-459e-4f41-9086-30790833fc7b:892254:36) at Array.__Z42Application_Set_Custom_PropRunInBackgroundh [Application_Set_Custom_PropRunInBackground(unsigned char)] (blob:http%3A//localhost/81467601-459e-4f41-9086-30790833fc7b:1017064:2) at _Application_set_runInBackground_m_1961756033_0 (blob:http%3A//localhost/81467601-459e-4f41-9086-30790833fc7b:3845571:30) at Array._PhotonNetwork__cctor_m339060500_0 (blob:http%3A//localhost/81467601-459e-4f41-9086-30790833fc7b:2642439:2) at Array.__Z33RuntimeInvoker_Void_t_224166001_0PK10MethodInfoPvPS2_ [RuntimeInvoker_Void_t_224166001_0?2(void**, undefined?S?*)] (blob:http%3A//localhost/81467601-459e-4f41-9086-30790833fc7b:4542841:32)

Comments