I’ve been able to create a normal web player build, but the webGL version just doesn’t seem to work. I get an error running in Firefox, straight from the JavaScript console:
If this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information." UnityConfig.js:74:4
uncaught exception: abort() at jsStackTrace@file:///Users/sohailshafii/Desktop/WebTestGL/GDWeb/Release/GDWeb.js:992:13
stackTrace@file:///Users/sohailshafii/Desktop/WebTestGL/GDWeb/Release/GDWeb.js:1009:22
abort@file:///Users/sohailshafii/Desktop/WebTestGL/GDWeb/Release/GDWeb.js:4228426:25
_pthread_create@file:///Users/sohailshafii/Desktop/WebTestGL/GDWeb/Release/GDWeb.js:10530:59
__ZN6il2cpp2os10ThreadImpl3RunEPFvPvES2_ [il2cpp::os::ThreadImpl::Run(undefined?F?*, void, void*)]@file:///Users/sohailshafii/Desktop/WebTestGL/GDWeb/Release/GDWeb.js:75500:9
__ZN6il2cpp2os6Thread3RunEPFvPvES2_ [il2cpp::os::Thread::Run(undefined?F?*, void, void*)]@file:///Users/sohailshafii/Desktop/WebTestGL/GDWeb/Release/GDWeb.js:68043:8
__ZN6il2cpp6icalls8mscorlib6System9Threading6Thread15Thread_internalEP12Il2CppThreadP14Il2CppDelegate [il2cpp::icalls::mscorlib::System::Threading::Thread::Thread_internal(Il2CppDelegate?**)]@file:///Users/sohailshafii/Desktop/WebTestGL/GDWeb/Release/GDWeb.js:59017:3
__Z6m24363P4t875P4t174P10MethodInfo [m24363(MethodInfo?***)]@file:///Users/sohailshafii/Desktop/WebTestGL/GDWeb/Release/GDWeb.js:3649506:8
__Z5m9006P4t875P10MethodInfo [m9006(MethodInfo?**)]@file:///Users/sohailshafii/Desktop/WebTestGL/GDWeb/Release/GDWeb.js:3650054:9
__Z6m13179P2t5P4t649iP10MethodInfo [m13179(int**, MethodInfo?*)]@file:///Users/sohailshafii/Desktop/WebTestGL/GDWeb/Release/GDWeb.js:3106606:2
__Z5m9821P2t5P4t649P10MethodInfo [m9821(MethodInfo?***)]@file:///Users/sohailshafii/Desktop/WebTestGL/GDWeb/Release/GDWeb.js:3106565:2
__Z5m6451P2t5P10MethodInfo [m6451(MethodInfo?**)]@file:///Users/sohailshafii/Desktop/WebTestGL/GDWeb/Release/GDWeb.js:2559100:2
__Z5m6445P5t1284P10MethodInfo [m6445(MethodInfo?**)]@file:///Users/sohailshafii/Desktop/WebTestGL/GDWeb/Release/GDWeb.js:2558987:2
__Z18RuntimeInvoker_t50P10MethodInfoPvPS1_ [RuntimeInvoker_t50?1(void**, undefined?S?*)]@file:///Users/sohailshafii/Desktop/WebTestGL/GDWeb/Release/GDWeb.js:3697007:2
__ZN6il2cpp2vm7Runtime6InvokeEP10MethodInfoPvPS4_PP12Il2CppObject [il2cpp::vm::Runtime::Invoke?4(void**, undefined?S?*)]@file:///Users/sohailshafii/Desktop/WebTestGL/GDWeb/Release/GDWeb.js:95978:8
_il2cpp_runtime_invoke@file:///Users/sohailshafii/Desktop/WebTestGL/GDWeb/Release/GDWeb.js:30785:8
__Z20il2cpp_invoke_method21ScriptingMethodIl2CppP15ScriptingObjectP18ScriptingArgumentsPP18ScriptingExceptionb [il2cpp_invoke_method?2()]@file:///Users/sohailshafii/Desktop/WebTestGL/GDWeb/Release/GDWeb.js:1203580:9
__ZN19ScriptingInvocation6InvokeEPP18ScriptingException [ScriptingInvocation::Invoke(ScriptingException?**)]@file:///Users/sohailshafii/Desktop/WebTestGL/GDWeb/Release/GDWeb.js:1461700:9
__ZN25ScriptingInvocationNoArgs13InvokeCheckedEv [ScriptingInvocationNoArgs::InvokeChecked()]@file:///Users/sohailshafii/Desktop/WebTestGL/GDWeb/Release/GDWeb.js:1461998:8
__ZN13MonoBehaviour12AddToManagerEv [MonoBehaviour::AddToManager()]@file:///Users/sohailshafii/Desktop/WebTestGL/GDWeb/Release/GDWeb.js:1455079:5
__ZN13MonoBehaviour35RebuildMonoInstanceFromScriptChangeEP14ScriptingClassP15ScriptingObject [MonoBehaviour::RebuildMonoInstanceFromScriptChange(ScriptingObject?**)]@file:///Users/sohailshafii/Desktop/WebTestGL/GDWeb/Release/GDWeb.js:1455865:2
__ZN13MonoBehaviour9SetScriptERK4PPtrI10MonoScriptEP15ScriptingObject [MonoBehaviour::SetScript(ScriptingObject?* PPtr<MonoScript?>?&)]@file:///Users/sohailshafii/Desktop/WebTestGL/GDWeb/Release/GDWeb.js:1455990:2
__ZL21AddComponentUncheckedRN5Unity10GameObjectEiP14ScriptingClassP10MonoScriptPNSt3__112basic_stringIcNS6_11char_traitsIcEENS6_9allocatorIcEEEE [AddComponentUnchecked?_(Unity::GameObject&, int, ?***)]@file:///Users/sohailshafii/Desktop/WebTestGL/GDWeb/Release/GDWeb.js:1348052:5
__Z12AddComponentRN5Unity10GameObjectEiP14ScriptingClassPNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEE [AddComponent?_(Unity::GameObject&, int, ?**)]@file:///Users/sohailshafii/Desktop/WebTestGL/GDWeb/Release/GDWeb.js:1349561:12
__Z24MonoAddComponentWithTypeRN5Unity10GameObjectEP15ScriptingObject [MonoAddComponentWithType(Unity::GameObject&, ScriptingObject?*)]@file:///Users/sohailshafii/Desktop/WebTestGL/GDWeb/Release/GDWeb.js:1105881:13
__Z47GameObject_CUSTOM_Internal_AddComponentWithTypeP15ScriptingObjectS0_ [GameObject_CUSTOM_Internal_AddComponentWithType?0(ScriptingObject?S?*)]@file:///Users/sohailshafii/Desktop/WebTestGL/GDWeb/Release/GDWeb.js:1620510:10
__Z6m19707P3t74P3t56P10MethodInfo [m19707(MethodInfo?***)]@file:///Users/sohailshafii/Desktop/WebTestGL/GDWeb/Release/GDWeb.js:3361395:8
__Z4m212P3t74P3t56P10MethodInfo [m212(MethodInfo?***)]@file:///Users/sohailshafii/Desktop/WebTestGL/GDWeb/Release/GDWeb.js:3361031:8
__Z5m9847P3t74P10MethodInfo [m9847(MethodInfo?**)]@file:///Users/sohailshafii/Desktop/WebTestGL/GDWeb/Release/GDWeb.js:3870096:8
__Z5m6473P2t5P10MethodInfo [m6473(MethodInfo?**)]@file:///Users/sohailshafii/Desktop/WebTestGL/GDWeb/Release/GDWeb.js:2560374:9
__Z18RuntimeInvoker_t50P10MethodInfoPvPS1_ [RuntimeInvoker_t50?1(void**, undefined?S?*)]@file:///Users/sohailshafii/Desktop/WebTestGL/GDWeb/Release/GDWeb.js:3697007:2
__ZN6il2cpp2vm7Runtime9ClassInitEP8TypeInfo [il2cpp::vm::Runtime::ClassInit(TypeInfo?*)]@file:///Users/sohailshafii/Desktop/WebTestGL/GDWeb/Release/GDWeb.js:96585:5
__Z5m6636P5t1238iP10MethodInfo [m6636(int*, MethodInfo?*)]@file:///Users/sohailshafii/Desktop/WebTestGL/GDWeb/Release/GDWeb.js:2551752:4
__Z5m1904P4t274P10MethodInfo [m1904(MethodInfo?**)]@file:///Users/sohailshafii/Desktop/WebTestGL/GDWeb/Release/GDWeb.js:2289734:2
__Z18RuntimeInvoker_t50P10MethodInfoPvPS1_ [RuntimeInvoker_t50?1(void**, undefined?S?*)]@file:///Users/sohailshafii/Desktop/WebTestGL/GDWeb/Release/GDWeb.js:3697007:2
__ZN6il2cpp2vm7Runtime6InvokeEP10MethodInfoPvPS4_PP12Il2CppObject [il2cpp::vm::Runtime::Invoke?4(void**, undefined?S?*)]@file:///Users/sohailshafii/Desktop/WebTestGL/GDWeb/Release/GDWeb.js:95978:8
_il2cpp_runtime_invoke@file:///Users/sohailshafii/Desktop/WebTestGL/GDWeb/Release/GDWeb.js:30785:8
__Z20il2cpp_invoke_method21ScriptingMethodIl2CppP15ScriptingObjectP18ScriptingArgumentsPP18ScriptingExceptionb [il2cpp_invoke_method?2()]@file:///Users/sohailshafii/Desktop/WebTestGL/GDWeb/Release/GDWeb.js:1203580:9
__ZN19ScriptingInvocation6InvokeEPP18ScriptingException [ScriptingInvocation::Invoke(ScriptingException?**)]@file:///Users/sohailshafii/Desktop/WebTestGL/GDWeb/Release/GDWeb.js:1461700:9
__ZN25ScriptingInvocationNoArgs13InvokeCheckedEv [ScriptingInvocationNoArgs::InvokeChecked()]@file:///Users/sohailshafii/Desktop/WebTestGL/GDWeb/Release/GDWeb.js:1461998:8
__ZN13MonoBehaviour12AddToManagerEv [MonoBehaviour::AddToManager()]@file:///Users/sohailshafii/Desktop/WebTestGL/GDWeb/Release/GDWeb.js:1455079:5
__ZN9Behaviour13AwakeFromLoadE17AwakeFromLoadMode [Behaviour::AwakeFromLoad?1()]@file:///Users/sohailshafii/Desktop/WebTestGL/GDWeb/Release/GDWeb.js:1172031:5
__ZN13MonoBehaviour13AwakeFromLoadE17AwakeFromLoadMode [MonoBehaviour::AwakeFromLoad?1()]@file:///Users/sohailshafii/Desktop/WebTestGL/GDWeb/Release/GDWeb.js:1454540:6
__ZN18AwakeFromLoadQueue28InvokePersistentManagerAwakeEPNS_4ItemEj17AwakeFromLoadMode [AwakeFromLoadQueue::InvokePersistentManagerAwake?1(AwakeFromLoadQueue::Item*, unsigned int)]@file:///Users/sohailshafii/Desktop/WebTestGL/GDWeb/Release/GDWeb.js:1477547:5
__ZN18AwakeFromLoadQueue30PersistentManagerAwakeFromLoadEv [AwakeFromLoadQueue::PersistentManagerAwakeFromLoad()]@file:///Users/sohailshafii/Desktop/WebTestGL/GDWeb/Release/GDWeb.js:1477363:3
__Z23CompletePreloadMainDataR18AwakeFromLoadQueue [CompletePreloadMainData(AwakeFromLoadQueue?&)]@file:///Users/sohailshafii/Desktop/WebTestGL/GDWeb/Release/GDWeb.js:1386930:2
__ZN18LoadLevelOperation19IntegrateMainThreadEv [LoadLevelOperation::IntegrateMainThread()]@file:///Users/sohailshafii/Desktop/WebTestGL/GDWeb/Release/GDWeb.js:1361472:3
__ZN14PreloadManager26UpdatePreloadingSingleStepEb [PreloadManager::UpdatePreloadingSingleStep(bool)]@file:///Users/sohailshafii/Desktop/WebTestGL/GDWeb/Release/GDWeb.js:1360276:2
__ZN14PreloadManager35WaitForAllAsyncOperationsToCompleteEv [PreloadManager::WaitForAllAsyncOperationsToComplete()]@file:///Users/sohailshafii/Desktop/WebTestGL/GDWeb/Release/GDWeb.js:1360298:3
__Z20PlayerLoadFirstLevelv [PlayerLoadFirstLevel()]@file:///Users/sohailshafii/Desktop/WebTestGL/GDWeb/Release/GDWeb.js:1358705:2
_main@file:///Users/sohailshafii/Desktop/WebTestGL/GDWeb/Release/GDWeb.js:2142587:2
callMain@file:///Users/sohailshafii/Desktop/WebTestGL/GDWeb/Release/GDWeb.js:4228303:15
doRun@file:///Users/sohailshafii/Desktop/WebTestGL/GDWeb/Release/GDWeb.js:4228360:7
run/<@file:///Users/sohailshafii/Desktop/WebTestGL/GDWeb/Release/GDWeb.js:4228372:7
If this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information.
This same error was received twice. I tried it to run it inside of Chrome but it wouldn’t allow me (I would have to upload to some web server). Here is some other log messages before the error appears:
Error: WebGL: Disallowing antialiased backbuffers due to blacklisting. UnityConfig.js:30:17
Successfully compiled asm.js code (loaded from cache in 1605ms) GDWeb.js
“run() called, but dependencies remain, so not running” index.html:33:6
Error: WebGL: Disallowing antialiased backbuffers due to blacklisting. GDWeb.js:5601:16
Error: WebGL: Disallowing antialiased backbuffers due to blacklisting. GDWeb.js:1652:20
“pre-main prep time: 283 ms” index.html:33:6
“Calling stub instead of signal()” index.html:33:6
“Initialize engine version: 5.0.1f1 (5a2e8fe35a68)” index.html:29:8
“Renderer: Mozilla” index.html:29:8
“Vendor: Mozilla” index.html:29:8
“Version: WebGL 1.0” index.html:29:8
“GLES: 0” index.html:29:8
“ANGLE_instanced_arrays GL_ANGLE_instanced_arrays EXT_blend_minmax GL_EXT_blend_minmax EXT_color_buffer_half_float GL_EXT_color_buffer_half_float EXT_frag_depth GL_EXT_frag_depth EXT_sRGB GL_EXT_sRGB EXT_texture_filter_anisotropic GL_EXT_texture_filter_anisotropic OES_element_index_uint GL_OES_element_index_uint OES_standard_derivatives GL_OES_standard_derivatives OES_texture_float GL_OES_texture_float OES_texture_float_linear GL_OES_texture_float_linear OES_texture_half_float GL_OES_texture_half_float OES_texture_half_float_linear GL_OES_texture_half_float_linear OES_vertex_array_object GL_OES_vertex_array_object WEBGL_color_buffer_float GL_WEBGL_color_buffer_float WEBGL_compressed_texture_s3tc GL_WEBGL_compressed_texture_s3tc WEBGL_depth_texture GL_WEBGL_depth_texture WEBGL_draw_buffers GL_WEBGL_draw_buffers WEBGL_lose_context GL_WEBGL_lose_context MOZ_WEBGL_lose_context GL_MOZ_WEBGL_lose_context MOZ_WEBGL_compressed_texture_s3tc GL_MOZ_WEBGL_compressed_texture_s3tc MOZ_WEBGL_depth_texture GL_MOZ_WEBGL_dept” index.html:29:8
“h_texture” index.html:29:8
“Creating OpenGLES2.0 graphics device” index.html:29:8
“missing function: pthread_create” index.html:33:6
-1 index.html:29:8
-1 index.html:33:6
“warning: a problem occurred in builtin C++ name demangling; build with -s DEMANGLE_SUPPORT=1 to link in libcxxabi demangling” index.html:33:6
Running in Firefox 37.0.2 on Mac OSX 10.10.3. A build of an empty scene from a separate project seems to work fine though…just need to find out what those message above mean.