WebGL Crash / wr.requestInstances[request] is undefined

New crash bug (sorry Marco - you probably hate me by now!), switched the compile target from “.NET 2.0” to “.NET 2.0 Subset”, and now have this crash bug showing up.

(incidentally, switching subsets did however fix the first issue with serialisation…)

01:52:05.820 TypeError: wr.requestInstances[request] is undefined1 WebGL.js:10066:5

01:52:16.734 uncaught exception: abort(57) at jsStackTrace@http://domain.com/assets/webgl/Development/WebGL.js:995:12
stackTrace@http://domain.com/assets/webgl/Development/WebGL.js:1009:21
abort@http://domain.com/assets/webgl/Development/WebGL.js:4319416:43
nullFunc_iii@http://domain.com/assets/webgl/Development/WebGL.js:14581:2
b57@http://domain.com/assets/webgl/Development/WebGL.js:4307018:2
__ZN13MemoryManager25GetAllocatorContainingPtrEPKv [MemoryManager::GetAllocatorContainingPtr(void*)]@http://domain.com/assets/webgl/Development/WebGL.js:2913308:6
__ZN13MemoryManager10DeallocateEPv [MemoryManager::smile:eallocate(void*)]@http://domain.com/assets/webgl/Development/WebGL.js:2069055:7
__ZN13MemoryManager10DeallocateEPvRK10MemLabelId [MemoryManager::smile:eallocate(void*, MemLabelId?&)]@http://domain.com/assets/webgl/Development/WebGL.js:2777971:3
__Z19free_alloc_internalPvRK10MemLabelId [free_alloc_internal(void*, MemLabelId?&)]@http://domain.com/assets/webgl/Development/WebGL.js:4172354:2
__Z22release_root_referenceP23AllocationRootReference [release_root_reference(AllocationRootReference?*)]@http://domain.com/assets/webgl/Development/WebGL.js:4124906:2
__ZN10MemLabelId16ReleaseReferenceEv [MemLabelId::ReleaseReference()]@http://domain.com/assets/webgl/Development/WebGL.js:4167223:2
__Z21SendMessageToEveryone17MessageIdentifier11MessageData [SendMessageToEveryone?1()]@http://domain.com/assets/webgl/Development/WebGL.js:1884708:31
__Z14SetPlayerFocusb [SetPlayerFocus(bool)]@http://domain.com/assets/webgl/Development/WebGL.js:3151842:2
__Z13FocusCallbackiPK20EmscriptenFocusEventPv [FocusCallback(int, void**)]@http://domain.com/assets/webgl/Development/WebGL.js:4098981:2
dynCall_iiii@http://domain.com/assets/webgl/Development/WebGL.js:4194478:9
Runtime.dynCall@http://domain.com/assets/webgl/Development/WebGL.js:212:11
JSEvents.registerFocusEventCallback/handlerFunc@http://domain.com/assets/webgl/Development/WebGL.js:5920:23
jsEventHandler@http://domain.com/assets/webgl/Development/WebGL.js:5703:4
UnityErrorHandler@http://domain.com/assets/webgl/Development/UnityConfig.js:110:9
invoke_iiii@http://domain.com/assets/webgl/Development/WebGL.js:16704:10
__ZN6il2cpp2vm7Runtime6InvokeEPK10MethodInfoPvPS5_PP12Il2CppObject [il2cpp::vm::Runtime::Invoke?5(void**, undefined?S?*)]@http://domain.com/assets/webgl/Development/WebGL.js:3454359:8
_il2cpp_runtime_invoke@http://domain.com/assets/webgl/Development/WebGL.js:4158081:9
__Z20il2cpp_invoke_method21ScriptingMethodIl2CppP15ScriptingObjectP18ScriptingArgumentsPP18ScriptingExceptionb [il2cpp_invoke_method?2()]@http://domain.com/assets/webgl/Development/WebGL.js:3690164:8
__ZN19ScriptingInvocation6InvokeEPP18ScriptingExceptionb [ScriptingInvocation::Invoke(bool**)]@http://domain.com/assets/webgl/Development/WebGL.js:2642648:7
__ZN19ScriptingInvocation6InvokeEPP18ScriptingException [ScriptingInvocation::Invoke(ScriptingException?**)]@http://domain.com/assets/webgl/Development/WebGL.js:4173859:9
__ZN25ScriptingInvocationNoArgs13InvokeCheckedEv [ScriptingInvocationNoArgs::InvokeChecked()]@http://domain.com/assets/webgl/Development/WebGL.js:3918352:7
__ZN13MonoBehaviour12AddToManagerEv [MonoBehaviour::AddToManager()]@http://domain.com/assets/webgl/Development/WebGL.js:2029159:4
__ZN9Behaviour13AwakeFromLoadE17AwakeFromLoadMode [Behaviour::AwakeFromLoad?1()]@http://domain.com/assets/webgl/Development/WebGL.js:3556362:4
__ZN13MonoBehaviour13AwakeFromLoadE17AwakeFromLoadMode [MonoBehaviour::AwakeFromLoad?1()]@http://domain.com/assets/webgl/Development/WebGL.js:1438906:4
__ZN18AwakeFromLoadQueue19InvokeAwakeFromLoadEPNS_4ItemEj17AwakeFromLoadMode [AwakeFromLoadQueue::InvokeAwakeFromLoad?1(AwakeFromLoadQueue::Item*, unsigned int)]@http://domain.com/assets/webgl/Development/WebGL.js:2728564:4
__ZN18AwakeFromLoadQueue13AwakeFromLoadE17AwakeFromLoadModeb [AwakeFromLoadQueue::AwakeFromLoad?1()]@http://domain.com/assets/webgl/Development/WebGL.js:2945807:4
__ZN5Unity10GameObject24ActivateAwakeRecursivelyENS_19DeactivateOperationE [Unity::GameObject::ActivateAwakeRecursively?N()]@http://domain.com/assets/webgl/Development/WebGL.js:3259635:2
__ZN5Unity10GameObject13SetSelfActiveEb [Unity::GameObject::SetSelfActive(bool)]@http://domain.com/assets/webgl/Development/WebGL.js:3520326:3
__Z27GameObject_CUSTOM_SetActiveP15ScriptingObjecth [GameObject_CUSTOM_SetActive(unsigned char*)]@http://domain.com/assets/webgl/Development/WebGL.js:4016597:4
_GameObject_SetActive_m18919@http://domain.com/assets/webgl/Development/WebGL.js:4099332:2
_UIManager_InitWindow_TisObject_t_m22943_gshared@http://domain.com/assets/webgl/Development/WebGL.js:1689633:4
_UIManager_get_MainUI_m16625@http://domain.com/assets/webgl/Development/WebGL.js:2653085:9
_UI_U3CRefreshBalanceU3Em__2A7_m13864@http://domain.com/assets/webgl/Development/WebGL.js:1840337:46
_Action_1_Invoke_m21418_gshared@http://domain.com/assets/webgl/Development/WebGL.js:3404716:4
_U3CPlayerBalanceU3Ec__AnonStorey179_U3CU3Em__300_m15608@http://domain.com/assets/webgl/Development/WebGL.js:4021702:10
_Action_1_Invoke_m21418_gshared@http://domain.com/assets/webgl/Development/WebGL.js:3404716:4
dynCall_viii@http://domain.com/assets/webgl/Development/WebGL.js:4207629:2
invoke_viii@http://domain.com/assets/webgl/Development/WebGL.js:18048:3
_U3CWebRoutineU3Ec__Iterator61_1_MoveNext_m74526_gshared@http://domain.com/assets/webgl/Development/WebGL.js:407026:10
__Z27RuntimeInvoker_Boolean_t146PK10MethodInfoPvPS2_ [RuntimeInvoker_Boolean_t146?2(void**, undefined?S?*)]@http://domain.com/assets/webgl/Development/WebGL.js:3880100:20
dynCall_iiii@http://domain.com/assets/webgl/Development/WebGL.js:4194478:9
invoke_iiii@http://domain.com/assets/webgl/Development/WebGL.js:16704:10
__ZN6il2cpp2vm7Runtime6InvokeEPK10MethodInfoPvPS5_PP12Il2CppObject [il2cpp::vm::Runtime::Invoke?5(void**, undefined?S?*)]@http://domain.com/assets/webgl/Development/WebGL.js:3454359:8
_il2cpp_runtime_invoke@http://domain.com/assets/webgl/Development/WebGL.js:4158081:9
__Z20il2cpp_invoke_method21ScriptingMethodIl2CppP15ScriptingObjectP18ScriptingArgumentsPP18ScriptingExceptionb [il2cpp_invoke_method?2()]@http://domain.com/assets/webgl/Development/WebGL.js:3690164:8
__ZN19ScriptingInvocation6InvokeEPP18ScriptingExceptionb [ScriptingInvocation::Invoke(bool**)]@http://domain.com/assets/webgl/Development/WebGL.js:2642648:7
__ZN19ScriptingInvocation6InvokeEPP18ScriptingException [ScriptingInvocation::Invoke(ScriptingException?**)]@http://domain.com/assets/webgl/Development/WebGL.js:4173859:9
__ZN19ScriptingInvocation6InvokeIbEET_PP18ScriptingException [undefined ScriptingInvocation::Invoke<bool>?T()]@http://domain.com/assets/webgl/Development/WebGL.js:4080951:7
__ZN9Coroutine3RunEv [Coroutine::Run()]@http://domain.com/assets/webgl/Development/WebGL.js:2821757:6
__ZN9Coroutine3RunEv [Coroutine::Run()]@http://domain.com/assets/webgl/Development/WebGL.js:2821781:32
__ZN9Coroutine17ContinueCoroutineEP6ObjectPv [Coroutine::ContinueCoroutine(void**)]@http://domain.com/assets/webgl/Development/WebGL.js:4083505:3
__ZN12WWWDelayCall8CallbackEP6ObjectPv [WWWDelayCall::Callback(void**)]@http://domain.com/assets/webgl/Development/WebGL.js:3339666:2
__ZN18DelayedCallManager6UpdateEi [DelayedCallManager::Update(int)]@http://domain.com/assets/webgl/Development/WebGL.js:1384891:8
__Z10PlayerLoopbbP10IHookEvent [PlayerLoop(bool, bool, IHookEvent?*)]@http://domain.com/assets/webgl/Development/WebGL.js:466602:3
__ZL8mainloopv [mainloop()]@http://domain.com/assets/webgl/Development/WebGL.js:3878366:2
dynCall_v@http://domain.com/assets/webgl/Development/WebGL.js:4310834:2
Runtime.dynCall@http://domain.com/assets/webgl/Development/WebGL.js:216:11
Browser_mainLoop_runner/<@http://domain.com/assets/webgl/Development/WebGL.js:9141:5
Browser.mainLoop.runIter@http://domain.com/assets/webgl/Development/WebGL.js:10421:5
Browser_mainLoop_runner@http://domain.com/assets/webgl/Development/WebGL.js:9137:3
1 <unknown>

At least you are making progress!

do you consistently get this error?

do you have exceptions enabled ?

Yes and yes to both - it’s 100% repro-able on the current build. I’m happy to zip up the folder if you want.

please do, this does look very much like a bug in our webgl platform layer.

Will do - I can’t give you the whole project unfortunately (it’s like 67GB now), but hopefully the debug build is useful.