WebGL build crashes at load time: Not implemented icall: RuntimeType::get_DeclaringMethod

I’m building for WebGL and getting the error below. I’m not positive what I’ve changes since the last time I tested the WebGL build. I’m also not sure how to go about debugging this.

Not implemented icall: RuntimeType::get_DeclaringMethod
    at RuntimeType_get_DeclaringMethod_mDF67A59612960BFEBA8B111107C97BB97F901262 (WebGL.wasm:wasm-function[100375]:0x17f4e82:0)
    at SymbolTable_BuildDeclarationChain_mAFD338853D33F26E56B98D804FAB4CDFFDD002D2 (WebGL.wasm:wasm-function[60385]:0x109ed4c:0)
    at SymbolTable_LoadSymbolsFromType_m380F2D99CC3C5EB9EE4EF77776FE64836D1FCF82 (WebGL.wasm:wasm-function[60383]:0x109e993:0)
    at SymbolTable_GetCTypeFromType_m6ECB64CB691678272423FC9F643E6A707A8EF61F (WebGL.wasm:wasm-function[60381]:0x109e89e:0)
    at SymbolTable_GetConstructedType_m7DE2E5702244064ED8116598CFCDBA47B17F38AE (WebGL.wasm:wasm-function[60393]:0x109fc3a:0)
    at SymbolTable_LoadSymbolsFromType_m380F2D99CC3C5EB9EE4EF77776FE64836D1FCF82 (WebGL.wasm:wasm-function[60383]:0x109ead2:0)
    at SymbolTable_GetCTypeFromType_m6ECB64CB691678272423FC9F643E6A707A8EF61F (WebGL.wasm:wasm-function[60381]:0x109e89e:0)
    at SymbolTable_CreateInheritanceHierarchyList_m7BFC5E38675EB7C44A8404AC3CF200329984154B (WebGL.wasm:wasm-function[60471]:0x10a3b24:0)
    at SymbolTable_AddNamesOnType_m326B7438BB1470D8E52EE06053066A9634EAA449 (WebGL.wasm:wasm-function[60468]:0x10a3795:0)
    at SymbolTable_PopulateSymbolTableWithName_mBF49285A9154A1D24E025594865E15BEDB734056 (WebGL.wasm:wasm-function[60420]:0x10a0925:0)
    at SymbolTable_AddAggregateToSymbolTable_mB8323819134BC4F3133BC60955F741472A41190A (WebGL.wasm:wasm-function[60392]:0x109fb47:0)
    at SymbolTable_LoadSymbolsFromType_m380F2D99CC3C5EB9EE4EF77776FE64836D1FCF82 (WebGL.wasm:wasm-function[60383]:0x109eaa6:0)
    at SymbolTable_GetCTypeFromType_m6ECB64CB691678272423FC9F643E6A707A8EF61F (WebGL.wasm:wasm-function[60381]:0x109e89e:0)
    at PredefinedTypes_DelayLoadPredefSym_mEDD50C485F6EC27772AD83EF6D3486C81A28410F (WebGL.wasm:wasm-function[61193]:0x10c544d:0)
    at PredefinedTypes_GetPredefinedAggregate_m1C687CAD91F1BC43029EFEB3644B2620F5A00712 (WebGL.wasm:wasm-function[61192]:0x10c53cf:0)
    at TypeManager_GetPredefAgg_mDC3BD11F83A5D6F25B697CEE18B7A8F414B7459E (WebGL.wasm:wasm-function[60275]:0x1099436:0)
    at SymbolLoader_GetPredefAgg_m96E420AA55DB574F48AC8613ADDCF62CF3DBD912 (WebGL.wasm:wasm-function[59942]:0x108a95f:0)
    at SymbolLoader_GetPredefindType_m3ABCD7353CAD280D4CF9F35DEB3E0EFB45D2A5A9 (WebGL.wasm:wasm-function[59972]:0x108c316:0)
    at RuntimeBinder_GenerateBoundLambda_mCCC5F4F9D77BE6D572788A8E67605D5A47294B7A (WebGL.wasm:wasm-function[60571]:0x10a9009:0)
    at RuntimeBinder_CreateExpressionTreeFromResult_m4C2A8B054499B4739A59573C8146F320ABC73FED (WebGL.wasm:wasm-function[60558]:0x10a89a7:0)
    at RuntimeBinder_BindCore_mB2C8FD6A2B5C84CD430E6FB9D2AA461EBBBF2505 (WebGL.wasm:wasm-function[60549]:0x10a8318:0)
    at dynCall_iiiiiii (WebGL.wasm:wasm-function[117404]:0x1a6809e:0)
    at unityFramework/createExportWrapper/unityFramework (WebGL.framework.js:1148:20)
    at invoke_iiiiiii (WebGL.framework.js:15436:10)
    at RuntimeBinder_Bind_m5FC030E83A00DF2024FDCA9E147DE690ABEC076F (WebGL.wasm:wasm-function[60536]:0x10a7b24:0)
    at dynCall_iiiiiii (WebGL.wasm:wasm-function[117404]:0x1a6809e:0)
    at unityFramework/createExportWrapper/unityFramework (WebGL.framework.js:1148:20)
    at invoke_iiiiiii (WebGL.framework.js:15436:10)
    at BinderHelper_Bind_mA7A984133A37B22C3BFB1699000B3F71B0366DD0 (WebGL.wasm:wasm-function[60529]:0x10a6fcb:0)
    at CSharpBinaryOperationBinder_FallbackBinaryOperation_m9ED87270D26DBAD53E21045BFD848FEEE0EEC94D (WebGL.wasm:wasm-function[60681]:0x10afb4d:0)
    at DynamicMetaObject_BindBinaryOperation_mC35F94CDF14B832694697A434658F91794D0B770 (WebGL.wasm:wasm-function[75949]:0x13788d5:0)
    at BinaryOperationBinder_Bind_m5CA2A05D282788C64F10A8A3B37FDEA0F9D16B6E (WebGL.wasm:wasm-function[75907]:0x1377459:0)
    at DynamicMetaObjectBinder_Bind_mE48B0C765D7433005203BDD38B0A54FD7DCD5D65 (WebGL.wasm:wasm-function[75954]:0x1378d0d:0)
    at CallSiteBinder_BindCore_TisRuntimeObject_m961EBCDD305E6F424D69473CC8CD52D1B6B954BB_gshared (WebGL.wasm:wasm-function[82269]:0x14a42c3:0)
    at CallSiteOps_Bind_TisRuntimeObject_m051798C21C3CC4BC2971E9B576355670BD4B8F03_gshared (WebGL.wasm:wasm-function[82279]:0x14a4b88:0)
    at RuntimeInvoker_FalseVoidU2A_t104EAEFBD2D237A8C29618913DA9B4D99355E965_VoidU2A_t104EAEFBD2D237A8C29618913DA9B4D99355E965_VoidU2A_t104EAEFBD2D237A8C29618913DA9B4D99355E965_RuntimeObject(void (*)(), MethodInfo const*, void*, void**, void*) (WebGL.wasm:wasm-function[114875]:0x1a28f83:0)
    at il2cpp::vm::Runtime::InvokeWithThrow(MethodInfo const*, void*, void**) (WebGL.wasm:wasm-function[20258]:0xa3666f:0)
    at dynCall_iiii (WebGL.wasm:wasm-function[117387]:0x1a67f99:0)
    at unityFramework/createExportWrapper/unityFramework (WebGL.framework.js:1148:20)
    at invoke_iiii (WebGL.framework.js:15414:10)
    at il2cpp::vm::Runtime::Invoke(MethodInfo const*, void*, void**, Il2CppException**) (WebGL.wasm:wasm-function[19891]:0xa27d3f:0)
    at il2cpp::vm::Runtime::InvokeConvertArgs(MethodInfo const*, void*, Il2CppObject**, int, Il2CppException**) (WebGL.wasm:wasm-function[19889]:0xa27b3f:0)
    at il2cpp::vm::Runtime::InvokeArray(MethodInfo const*, void*, Il2CppArray*, Il2CppException**) (WebGL.wasm:wasm-function[96322]:0x17487d6:0)
    at il2cpp::icalls::mscorlib::System::Reflection::RuntimeMethodInfo::InternalInvoke(Il2CppReflectionMethod*, Il2CppObject*, Il2CppArray*, Il2CppException**) (WebGL.wasm:wasm-function[96321]:0x1748768:0)
    at RuntimeMethodInfo_InternalInvoke_m8D8355AEB38C2803D4507B54845AA3654779C9DD (WebGL.wasm:wasm-function[96879]:0x175a7d5:0)
    at dynCall_iiiiii (WebGL.wasm:wasm-function[117396]:0x1a6801d:0)
    at unityFramework/createExportWrapper/unityFramework (WebGL.framework.js:1148:20)
    at invoke_iiiiii (WebGL.framework.js:15480:10)
    at RuntimeMethodInfo_Invoke_m8051178526027CCDA6D5EAC06792B901430EBC70 (WebGL.wasm:wasm-function[96880]:0x175a919:0)
    at MethodBase_Invoke_mEEF3218648F111A8C338001A7804091A0747C826 (WebGL.wasm:wasm-function[25776]:0xb4699c:0)
    at dynCall_iiiii (WebGL.wasm:wasm-function[117391]:0x1a67fc9:0)
    at unityFramework/createExportWrapper/unityFramework (WebGL.framework.js:1148:20)
    at invoke_iiiii (WebGL.framework.js:15359:10)
    at MethodInfoCallInstruction_Run_m04F4B63AB9061FD41527F10C7A4C966BAE5136E8 (WebGL.wasm:wasm-function[74296]:0x133849d:0)
    at Interpreter_Run_m3439B4605F2EFC6D3B8E140D6DBEFD53D91D1F4E (WebGL.wasm:wasm-function[59656]:0x10752cb:0)
    at dynCall_viii (WebGL.wasm:wasm-function[117390]:0x1a67fb9:0)
    at unityFramework/createExportWrapper/unityFramework (WebGL.framework.js:1148:20)
    at invoke_viii (WebGL.framework.js:15469:15)
    at LightLambda_Run3_TisIl2CppFullySharedGenericAny_TisIl2CppFullySharedGenericAny_TisIl2CppFullySharedGenericAny_TisIl2CppFullySharedGenericAny_m6D42C5C5CE89A0A472E808500C6FE0034F842B07_gshared (WebGL.wasm:wasm-function[59667]:0x10782aa:0)
    at RuntimeInvoker_TrueIl2CppFullySharedGenericAny_Il2CppFullySharedGenericAny_Il2CppFullySharedGenericAny_Il2CppFullySharedGenericAny(void (*)(), MethodInfo const*, void*, void**, void*) (WebGL.wasm:wasm-function[113133]:0x1a07f69:0)
    at FullySharedGenericInvokeRedirectNoAdjustorThunk(void (*)(), MethodInfo const*, void*, void**, void*) (WebGL.wasm:wasm-function[20097]:0xa305a5:0)
    at UnresolvedVirtualCall_1487(Il2CppObject*, Il2CppObject*, Il2CppObject*, Il2CppObject*, MethodInfo const*) (WebGL.wasm:wasm-function[116514]:0x1a48162:0)
    at D_Expand_m5AF2A591A05EFA5B5A3E1A24E4F848DE11788517 (WebGL.wasm:wasm-function[100799]:0x1810dd1:0)
    at ImporterFunc_2_Invoke_mE0D5CDC373D020C7A76AD8660519F226291E4028_OpenInst(ImporterFunc_2_tBF6685945560824E07E82A7846A206B773105746*, Il2CppObject*, MethodInfo const*) (WebGL.wasm:wasm-function[35816]:0xca9baa:0)
    at WhereSelectArrayIterator_2_MoveNext_m4A8194EF96624D7C6656C87F6058990E389F6290_gshared (WebGL.wasm:wasm-function[39152]:0xd53bf8:0)
    at InterfaceFuncInvoker0<Il2CppObject*>::Invoke(unsigned short, Il2CppClass*, Il2CppObject*) (WebGL.wasm:wasm-function[20437]:0xa3faf2:0)
    at dynCall_iiii (WebGL.wasm:wasm-function[117387]:0x1a67f99:0)
    at unityFramework/createExportWrapper/unityFramework (WebGL.framework.js:1148:20)
    at invoke_iiii (WebGL.framework.js:15414:10)
    at String_Join_m8159F953B3D62AA54A0853A6E9573CDC0F63E158 (WebGL.wasm:wasm-function[98817]:0x17b129d:0)
    at D_Log_m2743F0E2D817C2B219C37059B2B4CA429A9213B9 (WebGL.wasm:wasm-function[100674]:0x18077a9:0)
    at WebSocketTransport_Connect_m4C8DAC51F1D378C3BCA266881C752F2CE08564C8 (WebGL.wasm:wasm-function[100673]:0x1807577:0)
    at WebSocketTransport__ctor_mBE0AC75BA4D0AB532A9E4DBF889B1D05F23AE3C9 (WebGL.wasm:wasm-function[100672]:0x1807498:0)
    at GameBus__ctor_mF96B29EAF47FD9D863C5705DB351C0E788D97ACE (WebGL.wasm:wasm-function[100671]:0x1807403:0)
    at GameSetup__cctor_m35AC6C8CCDC97B64FDFAF14CAAEF4C01C7243B02 (WebGL.wasm:wasm-function[100733]:0x180c76d:0)
    at RuntimeInvoker_FalseVoid_t4861ACF8F4594C3437BB48B6E56783494B843915(void (*)(), MethodInfo const*, void*, void**, void*) (WebGL.wasm:wasm-function[116342]:0x1a44378:0)
    at il2cpp::vm::Runtime::InvokeWithThrow(MethodInfo const*, void*, void**) (WebGL.wasm:wasm-function[20258]:0xa36603:0)
    at dynCall_iiii (WebGL.wasm:wasm-function[117387]:0x1a67f99:0)
    at unityFramework/createExportWrapper/unityFramework (WebGL.framework.js:1148:20)
    at invoke_iiii (WebGL.framework.js:15414:10)
    at il2cpp::vm::Runtime::Invoke(MethodInfo const*, void*, void**, Il2CppException**) (WebGL.wasm:wasm-function[19891]:0xa27d3f:0)
    at il2cpp::vm::Runtime::ClassInit(Il2CppClass*) (WebGL.wasm:wasm-function[20338]:0xa3aa2d:0)
    at il2cpp_codegen_runtime_class_init_inline(Il2CppClass*) (WebGL.wasm:wasm-function[20455]:0xa402a9:0)
    at GameBoard_Awake_m5F0EA09E55528B94F65D3A0FF45F40E2798703CD (WebGL.wasm:wasm-function[100790]:0x1810161:0)
    at RuntimeInvoker_TrueVoid_t4861ACF8F4594C3437BB48B6E56783494B843915(void (*)(), MethodInfo const*, void*, void**, void*) (WebGL.wasm:wasm-function[113975]:0x1a14542:0)
    at il2cpp::vm::Runtime::InvokeWithThrow(MethodInfo const*, void*, void**) (WebGL.wasm:wasm-function[20258]:0xa36603:0)
    at dynCall_iiii (WebGL.wasm:wasm-function[117387]:0x1a67f99:0)
    at unityFramework/createExportWrapper/unityFramework (WebGL.framework.js:1148:20)
    at invoke_iiii (WebGL.framework.js:15414:10)
    at il2cpp::vm::Runtime::Invoke(MethodInfo const*, void*, void**, Il2CppException**) (WebGL.wasm:wasm-function[19891]:0xa27d3f:0)
    at il2cpp_runtime_invoke (WebGL.wasm:wasm-function[19890]:0xa27cc3:0)
    at ScriptingInvocation::Invoke(ScriptingExceptionPtr*, bool) (WebGL.wasm:wasm-function[15852]:0x95492d:0)
    at ScriptingInvocation::InvokeChecked(ScriptingExceptionPtr*) (WebGL.wasm:wasm-function[15858]:0x954c1c:0)
    at SerializableManagedRef::CallMethod(Object&, ScriptingMethodPtr) (WebGL.wasm:wasm-function[1988]:0x15590c:0)
    at MonoBehaviour::CallAwake() (WebGL.wasm:wasm-function[2042]:0x159592:0)
    at MonoBehaviour::AddToManager() (WebGL.wasm:wasm-function[2044]:0x159ac2:0)
    at Behaviour::AwakeFromLoad(AwakeFromLoadMode) (WebGL.wasm:wasm-function[15078]:0x919bc9:0)
    at MonoBehaviour::AwakeFromLoad(AwakeFromLoadMode) (WebGL.wasm:wasm-function[2041]:0x15950b:0)
    at AwakeFromLoadQueue::InvokePersistentManagerAwake(AwakeFromLoadQueue::Item*, unsigned int, AwakeFromLoadMode, bool) (WebGL.wasm:wasm-function[14836]:0x8fd55f:0)
    at AwakeFromLoadQueue::PersistentManagerAwakeFromLoad(ErrorsAndWarningsCapture*, bool) (WebGL.wasm:wasm-function[14833]:0x8fc7a4:0)
    at LoadSceneOperation::CompleteAwakeSequence() (WebGL.wasm:wasm-function[3775]:0x2b6c64:0)
    at LoadSceneOperation::IntegrateMainThread() (WebGL.wasm:wasm-function[3774]:0x2b6876:0)
    at PreloadManager::UpdatePreloadingSingleStep(PreloadManager::UpdatePreloadingFlags, int) (WebGL.wasm:wasm-function[3788]:0x2b7fb3:0)
    at PreloadManager::WaitForAllAsyncOperationsToComplete() (WebGL.wasm:wasm-function[3789]:0x2b80f9:0)
    at PlayerStartFirstScene(bool) (WebGL.wasm:wasm-function[14644]:0x8e609c:0)
    at main (WebGL.wasm:wasm-function[14065]:0x89f731:0)
    at unityFramework/createExportWrapper/unityFramework (WebGL.framework.js:1148:20)
    at callMain (WebGL.framework.js:17479:26)
    at doRun (WebGL.framework.js:17513:29)
    at run (WebGL.framework.js:17525:3)
    at runCaller (WebGL.framework.js:17462:18)
    at removeRunDependency (WebGL.framework.js:1103:4)
    at unityFramework/</unityFileSystemInit</< (WebGL.framework.js:202:12)
    at doCallback (WebGL.framework.js:5037:11)
    at done (WebGL.framework.js:5048:15)
    at unityFramework/reconcile/transaction.oncomplete (WebGL.framework.js:4556:13)
WebGL.framework.js:9859:12
    _emscripten_log_js http://localhost:46503/Build/WebGL.framework.js:9859
    _emscripten_log http://localhost:46503/Build/WebGL.framework.js:9879
    RuntimeType_get_DeclaringMethod_mDF67A59612960BFEBA8B111107C97BB97F901262 http://localhost:46503/Build/WebGL.wasm:25120386
    SymbolTable_BuildDeclarationChain_mAFD338853D33F26E56B98D804FAB4CDFFDD002D2 http://localhost:46503/Build/WebGL.wasm:17427788
    SymbolTable_LoadSymbolsFromType_m380F2D99CC3C5EB9EE4EF77776FE64836D1FCF82 http://localhost:46503/Build/WebGL.wasm:17426835
    SymbolTable_GetCTypeFromType_m6ECB64CB691678272423FC9F643E6A707A8EF61F http://localhost:46503/Build/WebGL.wasm:17426590
    SymbolTable_GetConstructedType_m7DE2E5702244064ED8116598CFCDBA47B17F38AE http://localhost:46503/Build/WebGL.wasm:17431610
    SymbolTable_LoadSymbolsFromType_m380F2D99CC3C5EB9EE4EF77776FE64836D1FCF82 http://localhost:46503/Build/WebGL.wasm:17427154
    SymbolTable_GetCTypeFromType_m6ECB64CB691678272423FC9F643E6A707A8EF61F http://localhost:46503/Build/WebGL.wasm:17426590
    SymbolTable_CreateInheritanceHierarchyList_m7BFC5E38675EB7C44A8404AC3CF200329984154B http://localhost:46503/Build/WebGL.wasm:17447716
    SymbolTable_AddNamesOnType_m326B7438BB1470D8E52EE06053066A9634EAA449 http://localhost:46503/Build/WebGL.wasm:17446805
    SymbolTable_PopulateSymbolTableWithName_mBF49285A9154A1D24E025594865E15BEDB734056 http://localhost:46503/Build/WebGL.wasm:17434917
    SymbolTable_AddAggregateToSymbolTable_mB8323819134BC4F3133BC60955F741472A41190A http://localhost:46503/Build/WebGL.wasm:17431367
    SymbolTable_LoadSymbolsFromType_m380F2D99CC3C5EB9EE4EF77776FE64836D1FCF82 http://localhost:46503/Build/WebGL.wasm:17427110
    SymbolTable_GetCTypeFromType_m6ECB64CB691678272423FC9F643E6A707A8EF61F http://localhost:46503/Build/WebGL.wasm:17426590
    PredefinedTypes_DelayLoadPredefSym_mEDD50C485F6EC27772AD83EF6D3486C81A28410F http://localhost:46503/Build/WebGL.wasm:17585229
    PredefinedTypes_GetPredefinedAggregate_m1C687CAD91F1BC43029EFEB3644B2620F5A00712 http://localhost:46503/Build/WebGL.wasm:17585103
    TypeManager_GetPredefAgg_mDC3BD11F83A5D6F25B697CEE18B7A8F414B7459E http://localhost:46503/Build/WebGL.wasm:17404982
    SymbolLoader_GetPredefAgg_m96E420AA55DB574F48AC8613ADDCF62CF3DBD912 http://localhost:46503/Build/WebGL.wasm:17344863
    SymbolLoader_GetPredefindType_m3ABCD7353CAD280D4CF9F35DEB3E0EFB45D2A5A9 http://localhost:46503/Build/WebGL.wasm:17351446
    RuntimeBinder_GenerateBoundLambda_mCCC5F4F9D77BE6D572788A8E67605D5A47294B7A http://localhost:46503/Build/WebGL.wasm:17469449
    RuntimeBinder_CreateExpressionTreeFromResult_m4C2A8B054499B4739A59573C8146F320ABC73FED http://localhost:46503/Build/WebGL.wasm:17467815
    RuntimeBinder_BindCore_mB2C8FD6A2B5C84CD430E6FB9D2AA461EBBBF2505 http://localhost:46503/Build/WebGL.wasm:17466136
    dynCall_iiiiiii http://localhost:46503/Build/WebGL.wasm:27689118
    unityFramework http://localhost:46503/Build/WebGL.framework.js:1148
    invoke_iiiiiii http://localhost:46503/Build/WebGL.framework.js:15436
    RuntimeBinder_Bind_m5FC030E83A00DF2024FDCA9E147DE690ABEC076F http://localhost:46503/Build/WebGL.wasm:17464100
    dynCall_iiiiiii http://localhost:46503/Build/WebGL.wasm:27689118
    unityFramework http://localhost:46503/Build/WebGL.framework.js:1148
    invoke_iiiiiii http://localhost:46503/Build/WebGL.framework.js:15436
    BinderHelper_Bind_mA7A984133A37B22C3BFB1699000B3F71B0366DD0 http://localhost:46503/Build/WebGL.wasm:17461195
    CSharpBinaryOperationBinder_FallbackBinaryOperation_m9ED87270D26DBAD53E21045BFD848FEEE0EEC94D http://localhost:46503/Build/WebGL.wasm:17496909
    DynamicMetaObject_BindBinaryOperation_mC35F94CDF14B832694697A434658F91794D0B770 http://localhost:46503/Build/WebGL.wasm:20416725
    BinaryOperationBinder_Bind_m5CA2A05D282788C64F10A8A3B37FDEA0F9D16B6E http://localhost:46503/Build/WebGL.wasm:20411481
    DynamicMetaObjectBinder_Bind_mE48B0C765D7433005203BDD38B0A54FD7DCD5D65 http://localhost:46503/Build/WebGL.wasm:20417805
    CallSiteBinder_BindCore_TisRuntimeObject_m961EBCDD305E6F424D69473CC8CD52D1B6B954BB_gshared http://localhost:46503/Build/WebGL.wasm:21643971
    CallSiteOps_Bind_TisRuntimeObject_m051798C21C3CC4BC2971E9B576355670BD4B8F03_gshared http://localhost:46503/Build/WebGL.wasm:21646216
    RuntimeInvoker_FalseVoidU2A_t104EAEFBD2D237A8C29618913DA9B4D99355E965_VoidU2A_t104EAEFBD2D237A8C29618913DA9B4D99355E965_VoidU2A_t104EAEFBD2D237A8C29618913DA9B4D99355E965_RuntimeObject(void (*)(), MethodInfo const*, void*, void**, void*) http://localhost:46503/Build/WebGL.wasm:27430787
    il2cpp::vm::Runtime::InvokeWithThrow(MethodInfo const*, void*, void**) http://localhost:46503/Build/WebGL.wasm:10708591
    dynCall_iiii http://localhost:46503/Build/WebGL.wasm:27688857
    unityFramework http://localhost:46503/Build/WebGL.framework.js:1148
    invoke_iiii http://localhost:46503/Build/WebGL.framework.js:15414
    il2cpp::vm::Runtime::Invoke(MethodInfo const*, void*, void**, Il2CppException**) http://localhost:46503/Build/WebGL.wasm:10648895
    il2cpp::vm::Runtime::InvokeConvertArgs(MethodInfo const*, void*, Il2CppObject**, int, Il2CppException**) http://localhost:46503/Build/WebGL.wasm:10648383
    il2cpp::vm::Runtime::InvokeArray(MethodInfo const*, void*, Il2CppArray*, Il2CppException**) http://localhost:46503/Build/WebGL.wasm:24414166
    il2cpp::icalls::mscorlib::System::Reflection::RuntimeMethodInfo::InternalInvoke(Il2CppReflectionMethod*, Il2CppObject*, Il2CppArray*, Il2CppException**) http://localhost:46503/Build/WebGL.wasm:24414056
    RuntimeMethodInfo_InternalInvoke_m8D8355AEB38C2803D4507B54845AA3654779C9DD http://localhost:46503/Build/WebGL.wasm:24487893
    dynCall_iiiiii http://localhost:46503/Build/WebGL.wasm:27688989
    unityFramework http://localhost:46503/Build/WebGL.framework.js:1148
    invoke_iiiiii http://localhost:46503/Build/WebGL.framework.js:15480
    RuntimeMethodInfo_Invoke_m8051178526027CCDA6D5EAC06792B901430EBC70 http://localhost:46503/Build/WebGL.wasm:24488217
    MethodBase_Invoke_mEEF3218648F111A8C338001A7804091A0747C826 http://localhost:46503/Build/WebGL.wasm:11823516
    dynCall_iiiii http://localhost:46503/Build/WebGL.wasm:27688905
    unityFramework http://localhost:46503/Build/WebGL.framework.js:1148
    invoke_iiiii http://localhost:46503/Build/WebGL.framework.js:15359
    MethodInfoCallInstruction_Run_m04F4B63AB9061FD41527F10C7A4C966BAE5136E8 http://localhost:46503/Build/WebGL.wasm:20153501
    Interpreter_Run_m3439B4605F2EFC6D3B8E140D6DBEFD53D91D1F4E http://localhost:46503/Build/WebGL.wasm:17257163
    dynCall_viii http://localhost:46503/Build/WebGL.wasm:27688889
    unityFramework http://localhost:46503/Build/WebGL.framework.js:1148
    invoke_viii http://localhost:46503/Build/WebGL.framework.js:15469
    LightLambda_Run3_TisIl2CppFullySharedGenericAny_TisIl2CppFullySharedGenericAny_TisIl2CppFullySharedGenericAny_TisIl2CppFullySharedGenericAny_m6D42C5C5CE89A0A472E808500C6FE0034F842B07_gshared http://localhost:46503/Build/WebGL.wasm:17269418
    RuntimeInvoker_TrueIl2CppFullySharedGenericAny_Il2CppFullySharedGenericAny_Il2CppFullySharedGenericAny_Il2CppFullySharedGenericAny(void (*)(), MethodInfo const*, void*, void**, void*) http://localhost:46503/Build/WebGL.wasm:27295593
    FullySharedGenericInvokeRedirectNoAdjustorThunk(void (*)(), MethodInfo const*, void*, void**, void*) http://localhost:46503/Build/WebGL.wasm:10683813
    UnresolvedVirtualCall_1487(Il2CppObject*, Il2CppObject*, Il2CppObject*, Il2CppObject*, MethodInfo const*) http://localhost:46503/Build/WebGL.wasm:27558242
    D_Expand_m5AF2A591A05EFA5B5A3E1A24E4F848DE11788517 http://localhost:46503/Build/WebGL.wasm:25234897
    ImporterFunc_2_Invoke_mE0D5CDC373D020C7A76AD8660519F226291E4028_OpenInst(ImporterFunc_2_tBF6685945560824E07E82A7846A206B773105746*, Il2CppObject*, MethodInfo const*) http://localhost:46503/Build/WebGL.wasm:13278122
    WhereSelectArrayIterator_2_MoveNext_m4A8194EF96624D7C6656C87F6058990E389F6290_gshared http://localhost:46503/Build/WebGL.wasm:13974520
    InterfaceFuncInvoker0<Il2CppObject*>::Invoke(unsigned short, Il2CppClass*, Il2CppObject*) http://localhost:46503/Build/WebGL.wasm:10746610
    dynCall_iiii http://localhost:46503/Build/WebGL.wasm:27688857
    unityFramework http://localhost:46503/Build/WebGL.framework.js:1148
    invoke_iiii http://localhost:46503/Build/WebGL.framework.js:15414
    String_Join_m8159F953B3D62AA54A0853A6E9573CDC0F63E158 http://localhost:46503/Build/WebGL.wasm:24842909
    D_Log_m2743F0E2D817C2B219C37059B2B4CA429A9213B9 http://localhost:46503/Build/WebGL.wasm:25196457
    WebSocketTransport_Connect_m4C8DAC51F1D378C3BCA266881C752F2CE08564C8 http://localhost:46503/Build/WebGL.wasm:25195895
    WebSocketTransport__ctor_mBE0AC75BA4D0AB532A9E4DBF889B1D05F23AE3C9 http://localhost:46503/Build/WebGL.wasm:25195672
    GameBus__ctor_mF96B29EAF47FD9D863C5705DB351C0E788D97ACE http://localhost:46503/Build/WebGL.wasm:25195523
    GameSetup__cctor_m35AC6C8CCDC97B64FDFAF14CAAEF4C01C7243B02 http://localhost:46503/Build/WebGL.wasm:25216877
    RuntimeInvoker_FalseVoid_t4861ACF8F4594C3437BB48B6E56783494B843915(void (*)(), MethodInfo const*, void*, void**, void*) http://localhost:46503/Build/WebGL.wasm:27542392
    il2cpp::vm::Runtime::InvokeWithThrow(MethodInfo const*, void*, void**) http://localhost:46503/Build/WebGL.wasm:10708483
    dynCall_iiii http://localhost:46503/Build/WebGL.wasm:27688857
    unityFramework http://localhost:46503/Build/WebGL.framework.js:1148
    invoke_iiii http://localhost:46503/Build/WebGL.framework.js:15414
    il2cpp::vm::Runtime::Invoke(MethodInfo const*, void*, void**, Il2CppException**) http://localhost:46503/Build/WebGL.wasm:10648895
    il2cpp::vm::Runtime::ClassInit(Il2CppClass*) http://localhost:46503/Build/WebGL.wasm:10725933
    il2cpp_codegen_runtime_class_init_inline(Il2CppClass*) http://localhost:46503/Build/WebGL.wasm:10748585
    GameBoard_Awake_m5F0EA09E55528B94F65D3A0FF45F40E2798703CD http://localhost:46503/Build/WebGL.wasm:25231713
    RuntimeInvoker_TrueVoid_t4861ACF8F4594C3437BB48B6E56783494B843915(void (*)(), MethodInfo const*, void*, void**, void*) http://localhost:46503/Build/WebGL.wasm:27346242
    il2cpp::vm::Runtime::InvokeWithThrow(MethodInfo const*, void*, void**) http://localhost:46503/Build/WebGL.wasm:10708483
    dynCall_iiii http://localhost:46503/Build/WebGL.wasm:27688857
    unityFramework http://localhost:46503/Build/WebGL.framework.js:1148
    invoke_iiii http://localhost:46503/Build/WebGL.framework.js:15414
    il2cpp::vm::Runtime::Invoke(MethodInfo const*, void*, void**, Il2CppException**) http://localhost:46503/Build/WebGL.wasm:10648895
    il2cpp_runtime_invoke http://localhost:46503/Build/WebGL.wasm:10648771
    ScriptingInvocation::Invoke(ScriptingExceptionPtr*, bool) http://localhost:46503/Build/WebGL.wasm:9783597
    ScriptingInvocation::InvokeChecked(ScriptingExceptionPtr*) http://localhost:46503/Build/WebGL.wasm:9784348
    SerializableManagedRef::CallMethod(Object&, ScriptingMethodPtr) http://localhost:46503/Build/WebGL.wasm:1399052
    MonoBehaviour::CallAwake() http://localhost:46503/Build/WebGL.wasm:1414546
    MonoBehaviour::AddToManager() http://localhost:46503/Build/WebGL.wasm:1415874
    Behaviour::AwakeFromLoad(AwakeFromLoadMode) http://localhost:46503/Build/WebGL.wasm:9542601
    MonoBehaviour::AwakeFromLoad(AwakeFromLoadMode) http://localhost:46503/Build/WebGL.wasm:1414411
    AwakeFromLoadQueue::InvokePersistentManagerAwake(AwakeFromLoadQueue::Item*, unsigned int, AwakeFromLoadMode, bool) http://localhost:46503/Build/WebGL.wasm:9426271
    AwakeFromLoadQueue::PersistentManagerAwakeFromLoad(ErrorsAndWarningsCapture*, bool) http://localhost:46503/Build/WebGL.wasm:9422756
    LoadSceneOperation::CompleteAwakeSequence() http://localhost:46503/Build/WebGL.wasm:2845796
    LoadSceneOperation::IntegrateMainThread() http://localhost:46503/Build/WebGL.wasm:2844790
    PreloadManager::UpdatePreloadingSingleStep(PreloadManager::UpdatePreloadingFlags, int) http://localhost:46503/Build/WebGL.wasm:2850739
    PreloadManager::WaitForAllAsyncOperationsToComplete() http://localhost:46503/Build/WebGL.wasm:2851065
    PlayerStartFirstScene(bool) http://localhost:46503/Build/WebGL.wasm:9330844
    main http://localhost:46503/Build/WebGL.wasm:9041713
    unityFramework http://localhost:46503/Build/WebGL.framework.js:1148
    callMain http://localhost:46503/Build/WebGL.framework.js:17479
    doRun http://localhost:46503/Build/WebGL.framework.js:17513
    run http://localhost:46503/Build/WebGL.framework.js:17525
    runCaller http://localhost:46503/Build/WebGL.framework.js:17462
    removeRunDependency http://localhost:46503/Build/WebGL.framework.js:1103
    unityFileSystemInit http://localhost:46503/Build/WebGL.framework.js:202
    doCallback http://localhost:46503/Build/WebGL.framework.js:5037
    done http://localhost:46503/Build/WebGL.framework.js:5048
    oncomplete http://localhost:46503/Build/WebGL.framework.js:4556

This is happening due to my debugging code, show below. I’m not sure specifically which part of this isn’t implemented for the WebGL build.

    public static String Expand(dynamic arg) {
        if( arg == null ) {
            return "null";
        }
        var t = arg.GetType();
        if( t.IsArray || arg is IList ) {
            return "["+ String.Join(", ",  ((IEnumerable)arg).Cast<dynamic>().Select( Expand )) + "]";
        } else if( arg is IDictionary ) {
            return "{" + String.Join(", ", ((IEnumerable)arg).Cast<dynamic>().Select(
                kv => Expand(kv.Key) + ": " + Expand(kv.Value)
            )) + "}";
        } else {
            return arg.ToString();
        }
    }
   
    public static void Log(params object[] args) {
        Debug.Log( String.Join(", ", args.Select( Expand )));
    }

It looks like “GetType” is not supported in WebGL.

Even removing that call doesn’t help though. I dropped the “t.IsArray” part and am testing only arg is IList and the same error comes up.

I removed the Expand calls and it appears simply calling args is IList is enough to trigger this error. Is there really not dynamic type information supported in the WebGL build? This doesn’t seem right.

This defect triggers when using runtime-type information on a dynamic variable, whether it’s a call to GetType or a simple type comparison like arg is IList.

Since I don’t need the dynamic nature at this point anymore, I could switch to an object type and rely on casting here.

I’m having the same issue. I hope there is some sort of workarround as it would be close to impossible to change every GetType calls or alike on my project.

Unfortunately the dynamic keyword requires code generation at runtime, which is not possible with IL2CPP or WebGL, so this is not supported. I think that using object here instead is the right work around.