Game getting crashed in webgl version

Hi,

Using Unity 2017.2.0f3
Build runned on Firefox

  • Unity standalone and editor mode is working fine.
  • For Unity WebGl platform game is getting crashed unexpectedly. Its suggesting for us to see the console but i m not able to reproduce the prob why it is getting crash. crash is happening for 2 different games and for both we use signalR.
    Any help will be appreciated

Below is the log report

–>>>Log report for first crash (this log came many times than other log report )

Invoking error handler due to
uncaught exception: abort() at jsStackTrace (22-1-2018-1.asm.framework.unityweb:1154:12)
stackTrace (22-1-2018-1.asm.framework.unityweb:1168:11)
abort (22-1-2018-1.asm.framework.unityweb:21029:43)
_abort (22-1-2018-1.asm.framework.unityweb:8216:2)
_free (blob:669358:1)
UnityLoader[“5df179e626078c3ecc1bdc9f62f923c8”]/_free [asm._free] (22-1-2018-1.asm.framework.unityweb:19250:9)
_ES_Create [_ES_Create/event.eventImpl.onmessage] (22-1-2018-1.asm.framework.unityweb:10521:24)

–>>Log report for other crash next day

uncaught exception: abort() at jsStackTrace@blob:null/e246e7bc-f57a-460c-bb74-a6652accdc97:1154:12
stackTrace@blob:null/e246e7bc-f57a-460c-bb74-a6652accdc97:1168:11
abort@blob:null/e246e7bc-f57a-460c-bb74-a6652accdc97:21029:43
_abort@blob:null/e246e7bc-f57a-460c-bb74-a6652accdc97:8216:2
_free@blob:null/7d2e3fc5-2e62-48c1-b5e2-63b8efe0f2c5:669434:1
__ZN13MemoryManager12LowLevelFreeEPvj [MemoryManager::LowLevelFree(void*, unsigned int)]@blob:null/7d2e3fc5-2e62-48c1-b5e2-63b8efe0f2c5:2958095:1
__ZN17LowLevelAllocator4FreeEPvj [LowLevelAllocator::Free(void*, unsigned int)]@blob:null/7d2e3fc5-2e62-48c1-b5e2-63b8efe0f2c5:2936840:1
__ZN21UnityDefaultAllocatorI17LowLevelAllocatorE10DeallocateEPv [UnityDefaultAllocator::smile:eallocate(void*)]@blob:null/7d2e3fc5-2e62-48c1-b5e2-63b8efe0f2c5:2446117:1
__ZN13MemoryManager10DeallocateEPvRK10MemLabelId [MemoryManager::smile:eallocate(void*, MemLabelId const&)]@blob:null/7d2e3fc5-2e62-48c1-b5e2-63b8efe0f2c5:1759853:1
__ZdlPv [operator delete(void*)]@blob:null/7d2e3fc5-2e62-48c1-b5e2-63b8efe0f2c5:2705162:1
__ZNSt3__212basic_stringIDsNS_11char_traitsIDsEENS_9allocatorIDsEEED2Ev [std::__2::basic_string<char16_t, std::__2::char_traits<char16_t>, std::__2::allocator<char16_t> >::~basic_string()]@blob:null/7d2e3fc5-2e62-48c1-b5e2-63b8efe0f2c5:2898058:1
__ZN6il2cpp2vm6String6NewLenEPKcj [il2cpp::vm::String::NewLen(char const*, unsigned int)]@blob:null/7d2e3fc5-2e62-48c1-b5e2-63b8efe0f2c5:2419828:1
__ZN6il2cpp2vm13MetadataCache25GetStringLiteralFromIndexEi [il2cpp::vm::MetadataCache::GetStringLiteralFromIndex(int)]@blob:null/7d2e3fc5-2e62-48c1-b5e2-63b8efe0f2c5:2468305:1
__ZN6il2cpp2vm13MetadataCache24InitializeMethodMetadataEj [il2cpp::vm::MetadataCache::InitializeMethodMetadata(unsigned int)]@blob:null/7d2e3fc5-2e62-48c1-b5e2-63b8efe0f2c5:1739108:1
_Encoding_GetEncoding_m2475966878@blob:null/7d2e3fc5-2e62-48c1-b5e2-63b8efe0f2c5:1095611:1
_GZipStream__cctor_m2507926146@blob:null/7d2e3fc5-2e62-48c1-b5e2-63b8efe0f2c5:2335467:1
_Z31RuntimeInvoker_Void_t1841601450PFvvEPK10MethodInfoPvPS4 [RuntimeInvoker_Void_t1841601450(void ()(), MethodInfo const, void*, void**)]@blob:null/7d2e3fc5-2e62-48c1-b5e2-63b8efe0f2c5:2882066:1
dynCall_iiiii@blob:null/7d2e3fc5-2e62-48c1-b5e2-63b8efe0f2c5:2884221:1
invoke_iiiii@blob:null/e246e7bc-f57a-460c-bb74-a6652accdc97:16476:10
__ZN6il2cpp2vm7Runtime6InvokeEPK10MethodInfoPvPS5_PP15Il2CppException [il2cpp::vm::Runtime::Invoke(MethodInfo const*, void*, void**, Il2CppException**)]@blob:null/7d2e3fc5-2e62-48c1-b5e2-63b8efe0f2c5:2419791:1
__ZN6il2cpp2vm7Runtime9ClassInitEP11Il2CppClass [il2cpp::vm::Runtime::ClassInit(Il2CppClass*)]@blob:null/7d2e3fc5-2e62-48c1-b5e2-63b8efe0f2c5:1353602:1
__ZN6il2cpp2vm6Object16NewAllocSpecificEP11Il2CppClass [il2cpp::vm::Object::NewAllocSpecific(Il2CppClass*)]@blob:null/7d2e3fc5-2e62-48c1-b5e2-63b8efe0f2c5:2293739:1
__ZN6il2cpp2vm6Object3NewEP11Il2CppClass [il2cpp::vm::Object::New(Il2CppClass*)]@blob:null/7d2e3fc5-2e62-48c1-b5e2-63b8efe0f2c5:2929751:1
dynCall_ii@blob:null/7d2e3fc5-2e62-48c1-b5e2-63b8efe0f2c5:2964757:1
invoke_ii@blob:null/e246e7bc-f57a-460c-bb74-a6652accdc97:17524:10
_SignalRConnection_Decompress_m2570884729@blob:null/7d2e3fc5-2e62-48c1-b5e2-63b8efe0f2c5:1067436:1
_SignalRResponseHandler_TakeNMBDetails_m4255641985@blob:null/7d2e3fc5-2e62-48c1-b5e2-63b8efe0f2c5:1622954:1
_OnMethodCallCallbackDelegate_Invoke_m2179032988@blob:null/7d2e3fc5-2e62-48c1-b5e2-63b8efe0f2c5:2362047:1
dynCall_viiii@blob:null/7d2e3fc5-2e62-48c1-b5e2-63b8efe0f2c5:2893727:1
invoke_viiii@blob:null/e246e7bc-f57a-460c-bb74-a6652accdc97:16972:3
_Hub_BestHTTP_SignalR_Hubs_IHub_OnMethod_m394854510@blob:null/7d2e3fc5-2e62-48c1-b5e2-63b8efe0f2c5:986001:1
_ZN23InterfaceActionInvoker1IP29MethodCallMessage_t1119839878E6InvokeEjP11Il2CppClassP12Il2CppObjectS1 [InterfaceActionInvoker1<MethodCallMessage_t1119839878*>::Invoke(unsigned int, Il2CppClass*, Il2CppObject*, MethodCallMessage_t1119839878*)]@blob:null/7d2e3fc5-2e62-48c1-b5e2-63b8efe0f2c5:2070798:1
_Connection_BestHTTP_SignalR_IConnection_OnMessage_m2844795491@blob:null/7d2e3fc5-2e62-48c1-b5e2-63b8efe0f2c5:825490:1
_ZN23InterfaceActionInvoker1IP12Il2CppObjectE6InvokeEjP11Il2CppClassS1_S1 [InterfaceActionInvoker1<Il2CppObject*>::Invoke(unsigned int, Il2CppClass*, Il2CppObject*, Il2CppObject*)]@blob:null/7d2e3fc5-2e62-48c1-b5e2-63b8efe0f2c5:2092556:1
_Connection_BestHTTP_SignalR_IConnection_OnMessage_m2844795491@blob:null/7d2e3fc5-2e62-48c1-b5e2-63b8efe0f2c5:825479:1
_ZN23InterfaceActionInvoker1IP12Il2CppObjectE6InvokeEjP11Il2CppClassS1_S1 [InterfaceActionInvoker1<Il2CppObject*>::Invoke(unsigned int, Il2CppClass*, Il2CppObject*, Il2CppObject*)]@blob:null/7d2e3fc5-2e62-48c1-b5e2-63b8efe0f2c5:2092556:1
_ServerSentEventsTransport_OnEventSourceMessage_m3863582117@blob:null/7d2e3fc5-2e62-48c1-b5e2-63b8efe0f2c5:2421841:1
_OnMessageDelegate_Invoke_m2345011670@blob:null/7d2e3fc5-2e62-48c1-b5e2-63b8efe0f2c5:2379267:1
dynCall_viiii@blob:null/7d2e3fc5-2e62-48c1-b5e2-63b8efe0f2c5:2893727:1
invoke_viiii@blob:null/e246e7bc-f57a-460c-bb74-a6652accdc97:16972:3
_EventSource_OnMessageReceived_m241913854@blob:null/7d2e3fc5-2e62-48c1-b5e2-63b8efe0f2c5:1073720:1
_EventSource_OnMessageCallback_m1791454704@blob:null/7d2e3fc5-2e62-48c1-b5e2-63b8efe0f2c5:2088929:1
dynCall_viiiiiii@blob:null/7d2e3fc5-2e62-48c1-b5e2-63b8efe0f2c5:2808685:1
invoke_viiiiiii@blob:null/e246e7bc-f57a-460c-bb74-a6652accdc97:17284:3
_ReversePInvokeWrapper_EventSource_OnMessageCallback_m1791454704@blob:null/7d2e3fc5-2e62-48c1-b5e2-63b8efe0f2c5:2213788:1
dynCall_viiiii@blob:null/7d2e3fc5-2e62-48c1-b5e2-63b8efe0f2c5:2870323:1
dynCall@blob:null/e246e7bc-f57a-460c-bb74-a6652accdc97:585:11
_ES_Create/event.eventImpl.onmessage@blob:null/e246e7bc-f57a-460c-bb74-a6652accdc97:10519:3

Thanks,
Amir

I would suggest to try the latest patch.

we have already tried p4 patch but still facing the same issue

anything more in the log that might be useful? what does your project do?

when we run the game without signalR it is working gud… if we run with signalR we are getting above log report. both for webgl build… so it is clear its nt happening bcz of game … but might be while communicating between game and backend.

My project completely runs on AI and for any actions or movement we take values from server. User don’t have any control to the game.