decentraland / unity-explorer

Apache License 2.0
8 stars 11 forks source link

TerrainRenderer crash #474

Closed mikhail-dcl closed 7 months ago

mikhail-dcl commented 7 months ago

TerrainRenderer crashes in builds, even if the terrain generation is disabled.

All the coordinates with crashes are mentioned here https://docs.google.com/spreadsheets/d/1nBFcqxLW1g97q3tL2dwZQm-g6I6ummvRsdj3CINQtzE/edit#gid=1394103801

0x00007FFF0B74DFB3 (UnityPlayer) TerrainRenderer::ForceSplitParent
0x00007FFF0B74D49A (UnityPlayer) TerrainRenderer::EnforceLodTransitions
0x00007FFF0B74E1FF (UnityPlayer) TerrainRenderer::ForceSplitParent
0x00007FFF0B74D49A (UnityPlayer) TerrainRenderer::EnforceLodTransitions
0x00007FFF0B74D50E (UnityPlayer) TerrainRenderer::EnforceLodTransitions
0x00007FFF0B74D50E (UnityPlayer) TerrainRenderer::EnforceLodTransitions
0x00007FFF0B7141D8 (UnityPlayer) TerrainManager::CullAllTerrains
0x00007FFF0A987875 (UnityPlayer) CullScriptable
0x00007FFF0A0CA29F (UnityPlayer) ScriptableRenderContext_CUSTOM_Internal_Cull_Injected
0x00007FFEE99C9FFD (GameAssembly) [D:\Decentraland\unity-explorer-ssh\Explorer\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\UnityEngine.CoreModule__4.cpp:13409] ScriptableRenderContext_Cull_mB7B0E5BE54C1E03AF1E6310E7B9150000DA76110 
0x00007FFEE97C2B00 (GameAssembly) [D:\Decentraland\unity-explorer-ssh\Explorer\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Unity.RenderPipelines.Universal.Runtime__7.cpp:7233] UniversalRenderPipeline_RenderSingleCamera_mAED46E947EC1009B5D51EE35B156C551A2901A18 
0x00007FFEE97C1A56 (GameAssembly) [D:\Decentraland\unity-explorer-ssh\Explorer\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Unity.RenderPipelines.Universal.Runtime__7.cpp:8296] UniversalRenderPipeline_RenderCameraStack_m47BBC0B4111D83BB6EE3275C9572BFBF2F5451B9 
0x00007FFEE97C3742 (GameAssembly) [D:\Decentraland\unity-explorer-ssh\Explorer\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Unity.RenderPipelines.Universal.Runtime__7.cpp:6589] UniversalRenderPipeline_Render_m15A42AB44C14AB4DCA7EF0B915964D46B643D50E 
0x00007FFEE99C4AAD (GameAssembly) [D:\Decentraland\unity-explorer-ssh\Explorer\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\UnityEngine.CoreModule__4.cpp:11190] RenderPipelineManager_DoRenderLoop_Internal_mB646C8738F4A9859101F3BE94809E2E10BBDB1FB 
0x00007FFEE4B793F6 (GameAssembly) [C:\Program Files\Unity\Hub\Editor\2022.3.2f1\Editor\Data\il2cpp\libil2cpp\vm\Runtime.cpp:605] il2cpp::vm::Runtime::InvokeWithThrow 
0x00007FFEE4B78E99 (GameAssembly) [C:\Program Files\Unity\Hub\Editor\2022.3.2f1\Editor\Data\il2cpp\libil2cpp\vm\Runtime.cpp:590] il2cpp::vm::Runtime::Invoke 
0x00007FFF0AF96748 (UnityPlayer) scripting_method_invoke
0x00007FFF0AF9E1FC (UnityPlayer) ScriptingInvocation::Invoke
0x00007FFF0A976CFD (UnityPlayer) ScriptableRenderContext::ExtractAndExecuteRenderPipeline
0x00007FFF0A5CD0C7 (UnityPlayer) RenderManager::RenderCamerasWithScriptableRenderLoop
0x00007FFF0A5CC85C (UnityPlayer) RenderManager::RenderCameras
0x00007FFF0AAC69ED (UnityPlayer) PlayerRender
0x00007FFF0AAC1F20 (UnityPlayer) `InitPlayerLoopCallbacks'::`2'::PostLateUpdateFinishFrameRenderingRegistrator::Forward
0x00007FFF0AAA99DA (UnityPlayer) ExecutePlayerLoop
0x00007FFF0AAA9AAE (UnityPlayer) ExecutePlayerLoop
0x00007FFF0AAAE0DA (UnityPlayer) PlayerLoop
0x00007FFF0B03ED4F (UnityPlayer) PerformMainLoop
0x00007FFF0B03D91B (UnityPlayer) MainMessageLoop
0x00007FFF0B043EBD (UnityPlayer) UnityMainImpl
0x00007FFF0B045D9B (UnityPlayer) UnityMain
0x00007FF78B5111F2 (Explorer) __scrt_common_main_seh
0x00007FFFEBC3257D (KERNEL32) BaseThreadInitThunk
0x00007FFFEC22AA48 (ntdll) RtlUserThreadStart
m3taphysics commented 7 months ago

Flying across the world with PDB / Visual Studio I get the following crash (separate from the above, the above also occurs)

GameAssembly.dll!ByteUtils_WriteEnumAs_TisByteEnum_t2A464EF5EC59CBA8ED5E194537D5832168B1A692_TisInt32_t680FF22E76F6EFAD4375103CBBFFA0421349384C_m9E2667715DD7FB1A4D730740C0D047983313BF72_gshared(Span_1_tDADAC65069DFE6B57C458109115ECD795ED39305 * ___0_span, unsigned char ___1_value, const MethodInfo * method) Line 25068 C++
    GameAssembly.dll!ByteUtils_WriteEnumAs_TisCRDTMessageType_tDF800BC4B4D51BBAB85CA07617C43B3521C4E7D3_TisInt32_t680FF22E76F6EFAD4375103CBBFFA0421349384C_mE6443FBEC9CE6EDA38D26CB7968F73FEFEC2B2E3(Span_1_tDADAC65069DFE6B57C458109115ECD795ED39305 * ___0_span, unsigned char ___1_value, const MethodInfo * method) Line 1537   C++
    GameAssembly.dll!CRDTSerializer_Serialize_m146DD0343B29ECF4CA03A620BFC237711D7A96F2(CRDTSerializer_t0FA32E3E6616F91714A731B5F7570869698636AD * __this, Span_1_tDADAC65069DFE6B57C458109115ECD795ED39305 * ___0_destination, ProcessedCRDTMessage_t9FC2061415B258F40D7E5342B58348EE092E96B8 * ___1_processedMessage, const MethodInfo * method) Line 2756    C++
    GameAssembly.dll!CRDTSerializer_CRDT_Serializer_ICRDTSerializer_Serialize_m36E8DFFD01A1B441FDB6117327999AEFBCC8098F(CRDTSerializer_t0FA32E3E6616F91714A731B5F7570869698636AD * __this, Span_1_tDADAC65069DFE6B57C458109115ECD795ED39305 * ___0_destination, ProcessedCRDTMessage_t9FC2061415B258F40D7E5342B58348EE092E96B8 * ___1_processedMessage, const MethodInfo * method) Line 2871    C++
    GameAssembly.dll!InterfaceActionInvoker2<Span_1_tDADAC65069DFE6B57C458109115ECD795ED39305 *,ProcessedCRDTMessage_t9FC2061415B258F40D7E5342B58348EE092E96B8 *>::Invoke(unsigned short slot, Il2CppClass * declaringInterface, Il2CppObject * obj, Span_1_tDADAC65069DFE6B57C458109115ECD795ED39305 * p1, ProcessedCRDTMessage_t9FC2061415B258F40D7E5342B58348EE092E96B8 * p2) Line 43    C++
    GameAssembly.dll!EngineAPIImplementation_CrdtGetState_m036571B5EF7BB1DF3DBED57EC5615D9C0982A10D(EngineAPIImplementation_tE36875DBD242FA105F53651CF7FD74CAC742A400 * __this, const MethodInfo * method) Line 2508    C++
    GameAssembly.dll!InterfaceFuncInvoker0<PoolableByteArray_t1D19DE9C8ECE467CED5D1221ED6EF9939547C817>::Invoke(unsigned short slot, Il2CppClass * declaringInterface, Il2CppObject * obj) Line 75  C++
    GameAssembly.dll!EngineApiWrapper_CrdtGetState_m2BBDC61755945A620BC7DC811ADA7AFFB3CF388E(EngineApiWrapper_tD7C6F5DAAAA2E9F1B2B4C9F15D3C449023B27307 * __this, const MethodInfo * method) Line 7671  C++
    GameAssembly.dll!RuntimeInvoker_TrueRuntimeObject(void(*)() methodPointer, const MethodInfo * methodMetadata, void * obj, void * * args, void * returnAddress) Line 355346  C++
    GameAssembly.dll!il2cpp::vm::Runtime::InvokeWithThrow(const MethodInfo * method, void * obj, void * * params) Line 623  C++
    GameAssembly.dll!il2cpp::vm::Runtime::Invoke(const MethodInfo * method, void * obj, void * * params, Il2CppException * * exc) Line 590  C++
    GameAssembly.dll!il2cpp::vm::InvokeConvertThis(const MethodInfo * method, void * thisArg, void * * convertedParameters, Il2CppException * * exception) Line 746 C++
    GameAssembly.dll!il2cpp::vm::Runtime::InvokeConvertArgs(const MethodInfo * method, void * thisArg, Il2CppObject * * parameters, int paramCount, Il2CppException * * exception) Line 850 C++
    GameAssembly.dll!il2cpp::vm::Runtime::InvokeArray(const MethodInfo * method, void * obj, Il2CppArray * params, Il2CppException * * exc) Line 646    C++
    GameAssembly.dll!il2cpp::icalls::mscorlib::System::Reflection::RuntimeMethodInfo::InternalInvoke(Il2CppReflectionMethod * method, Il2CppObject * thisPtr, Il2CppArray * params, Il2CppException * * exc) Line 186   C++
    GameAssembly.dll!RuntimeMethodInfo_InternalInvoke_m8D8355AEB38C2803D4507B54845AA3654779C9DD(RuntimeMethodInfo_t851B32EA83B3E3A7B4D285162D1BB87AD389E7E6 * __this, Il2CppObject * ___0_obj, ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918 * ___1_parameters, Exception_t * * ___2_exc, const MethodInfo * method) Line 28175    C++
    GameAssembly.dll!RuntimeMethodInfo_Invoke_m8051178526027CCDA6D5EAC06792B901430EBC70(RuntimeMethodInfo_t851B32EA83B3E3A7B4D285162D1BB87AD389E7E6 * __this, Il2CppObject * ___0_obj, int ___1_invokeAttr, Binder_t91BFCE95A7057FADF4D8A1A342AFE52872246235 * ___2_binder, ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918 * ___3_parameters, CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0 * ___4_culture, const MethodInfo * method) Line 28282   C++
    GameAssembly.dll!VirtualFuncInvoker5<Il2CppObject *,Il2CppObject *,int,Binder_t91BFCE95A7057FADF4D8A1A342AFE52872246235 *,ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918 *,CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0 *>::Invoke(unsigned short slot, Il2CppObject * obj, Il2CppObject * p1, int p2, Binder_t91BFCE95A7057FADF4D8A1A342AFE52872246235 * p3, ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918 * p4, CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0 * p5) Line 88 C++
    GameAssembly.dll!MethodBase_Invoke_mEEF3218648F111A8C338001A7804091A0747C826(MethodBase_t * __this, Il2CppObject * ___0_obj, ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918 * ___1_parameters, const MethodInfo * method) Line 11936    C++
    GameAssembly.dll!U3CU3Ec_U3CInvokeMethodU3Eb__0_0_m94BE9F038834141FEE7B598B1E851DEB241E9824(U3CU3Ec_t4B7A3112ACC8667DF74A8409EC944DAD92794863 * __this, MethodInfo_t * ___0_invokeMethod, Il2CppObject * ___1_invokeTarget, ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918 * ___2_invokeArgs, const MethodInfo * method) Line 13911 C++
    GameAssembly.dll!Func_4_Invoke_m9BAD5BBD30933FE9049B012CD3316FB2F24F3B8A_gshared_inline(Func_4_t5BEC908E1F7894319A22CA9728A897FA95522DAD * __this, Il2CppObject * ___0_arg1, Il2CppObject * ___1_arg2, Il2CppObject * ___2_arg3, const MethodInfo * method) Line 33635  C++
    GameAssembly.dll!Func_4_Invoke_m36A22432D2B14AD89B963BEF07FE905B7CCC12BC_inline(Func_4_tCA005CF8D55FA2A1CE750AF0AEA96293D224C4FA * __this, Il2CppObject * ___0_arg1, Il2CppObject * ___1_arg2, ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918 * ___2_arg3, const MethodInfo * method) Line 11384    C++
    GameAssembly.dll!InvokeHelpers_InvokeMethodInternal_TisRuntimeObject_m1FF180ACFE73C8FF2D553CA32D1E7E86EA6D10E0_gshared(Il2CppObject * ___0_context, Il2CppObject * ___1_method, Il2CppObject * ___2_target, ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918 * ___3_args, Func_4_tCA005CF8D55FA2A1CE750AF0AEA96293D224C4FA * ___4_invoker, Type_t * ___5_returnType, int ___6_flags, const MethodInfo * method) Line 23768    C++
    GameAssembly.dll!InvokeHelpers_InvokeMethodInternal_TisMethodInfo_t_mAF028340A85F0780D08E4A20233114421DDB9B36(Il2CppObject * ___0_context, MethodInfo_t * ___1_method, Il2CppObject * ___2_target, ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918 * ___3_args, Func_4_tD7DB80422F87256423A36D69409AB761A338DED7 * ___4_invoker, Type_t * ___5_returnType, int ___6_flags, const MethodInfo * method) Line 5511  C++
    GameAssembly.dll!InvokeHelpers_InvokeMethod_m83BB38151F723C7C9EC012933D6011CCAC6677DC(Il2CppObject * ___0_context, MethodInfo_t * ___1_method, Il2CppObject * ___2_target, ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918 * ___3_args, int ___4_flags, const MethodInfo * method) Line 13451    C++
    GameAssembly.dll!MethodBindSuccess_Invoke_mA1C9C3C51FF67A476CAB833686DC1A8A9AD6342E(MethodBindSuccess_t10A39ECEBF09E99AF30C0FCC061A8241BD0A1B56 * __this, HostItem_tA2F0552EF8E9B0F33172958FFA2AA82D761B2B78 * ___0_hostItem, const MethodInfo * method) Line 6889  C++
    GameAssembly.dll!VirtualFuncInvoker1<Il2CppObject *,HostItem_tA2F0552EF8E9B0F33172958FFA2AA82D761B2B78 *>::Invoke(unsigned short slot, Il2CppObject * obj, HostItem_tA2F0552EF8E9B0F33172958FFA2AA82D761B2B78 * p1) Line 55 C++
    GameAssembly.dll!HostItem_InvokeMethod_m30B96565635DC08C4962DB0AFEC61BA25EF4A99C(HostItem_tA2F0552EF8E9B0F33172958FFA2AA82D761B2B78 * __this, String_t * ___0_name, TypeU5BU5D_t97234E1129B564EB38B8D85CAC2AD8B5B9522FFB * ___1_typeArgs, ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918 * ___2_args, ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918 * ___3_bindArgs, const MethodInfo * method) Line 30529 C++
    GameAssembly.dll!HostItem_InvokeMethod_m46B1C07052D23760A96A7E4A17346C6EF9A384C6(HostItem_tA2F0552EF8E9B0F33172958FFA2AA82D761B2B78 * __this, String_t * ___0_name, ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918 * ___1_args, ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918 * ___2_bindArgs, const MethodInfo * method) Line 30339   C++
    GameAssembly.dll!HostItem_InvokeHostMember_mE106BA98B0BE40F9FD702846FD2295525A132328(HostItem_tA2F0552EF8E9B0F33172958FFA2AA82D761B2B78 * __this, String_t * ___0_name, int ___1_invokeFlags, ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918 * ___2_args, ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918 * ___3_bindArgs, bool * ___4_isCacheable, const MethodInfo * method) Line 25883    C++
    GameAssembly.dll!HostItem_InvokeMember_m42ADE697058DE2BAC81E096587375A68D86174F8(HostItem_tA2F0552EF8E9B0F33172958FFA2AA82D761B2B78 * __this, String_t * ___0_name, int ___1_invokeFlags, ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918 * ___2_args, ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918 * ___3_bindArgs, CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0 * ___4_culture, bool ___5_bypassTunneling, bool * ___6_isCacheable, const MethodInfo * method) Line 21380   C++
    GameAssembly.dll!HostItem_InvokeMember_m18FFEC790DA0E64519F0051F64E9C2B87B5B5B05(HostItem_tA2F0552EF8E9B0F33172958FFA2AA82D761B2B78 * __this, String_t * ___0_name, int ___1_invokeFlags, ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918 * ___2_args, ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918 * ___3_bindArgs, CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0 * ___4_culture, bool ___5_bypassTunneling, const MethodInfo * method) Line 21103    C++
    GameAssembly.dll!HostMethod_TryInvoke_m191856459863E7F749FB79A303685C971A7196F3(HostMethod_t04065D3CD8F6B07E57CE48CB8FE26536C7D3BB96 * __this, Il2CppObject * ___0_context, int ___1_invokeFlags, ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918 * ___2_args, ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918 * ___3_bindArgs, Il2CppObject * * ___4_result, const MethodInfo * method) Line 14788   C++
    GameAssembly.dll!VirtualFuncInvoker5<bool,Il2CppObject *,int,ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918 *,ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918 *,Il2CppObject * *>::Invoke(unsigned short slot, Il2CppObject * obj, Il2CppObject * p1, int p2, ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918 * p3, ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918 * p4, Il2CppObject * * p5) Line 99 C++
    GameAssembly.dll!InvokeHelpers_TryInvokeObject_m8D24A6E40AA52DEC09C608AF281D97585301B6E8(Il2CppObject * ___0_context, Il2CppObject * ___1_target, int ___2_invokeFlags, ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918 * ___3_args, ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918 * ___4_bindArgs, bool ___5_tryDynamic, Il2CppObject * * ___6_result, const MethodInfo * method) Line 13591   C++
    GameAssembly.dll!HostItem_InvokeHostMember_mE106BA98B0BE40F9FD702846FD2295525A132328(HostItem_tA2F0552EF8E9B0F33172958FFA2AA82D761B2B78 * __this, String_t * ___0_name, int ___1_invokeFlags, ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918 * ___2_args, ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918 * ___3_bindArgs, bool * ___4_isCacheable, const MethodInfo * method) Line 25686    C++
    GameAssembly.dll!HostItem_InvokeMember_m42ADE697058DE2BAC81E096587375A68D86174F8(HostItem_tA2F0552EF8E9B0F33172958FFA2AA82D761B2B78 * __this, String_t * ___0_name, int ___1_invokeFlags, ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918 * ___2_args, ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918 * ___3_bindArgs, CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0 * ___4_culture, bool ___5_bypassTunneling, bool * ___6_isCacheable, const MethodInfo * method) Line 21380   C++
    GameAssembly.dll!U3CU3Ec__DisplayClass147_0_U3CInvokeReflectMemberU3Eb__0_m81D506B928168DC1A76DC29C0C4393FA0444E077(U3CU3Ec__DisplayClass147_0_tE849498172B61D27261CDB931AE1E1AAF12F8735 * __this, const MethodInfo * method) Line 11391    C++
    GameAssembly.dll!Func_1_Invoke_m1412272198DFA4066C83206E5B43353AF10A2EEE_gshared_inline(Func_1_tD5C081AE11746B200C711DD48DBEB00E3A9276D4 * __this, const MethodInfo * method) Line 31904    C++
    GameAssembly.dll!Func_1_Invoke_m1412272198DFA4066C83206E5B43353AF10A2EEE_inline(Func_1_tD5C081AE11746B200C711DD48DBEB00E3A9276D4 * __this, const MethodInfo * method) Line 4524 C++
    GameAssembly.dll!ScriptEngine_HostInvoke_TisRuntimeObject_m552090F870722E98D2FEB694BA20BD8A2667E1DC_gshared(ScriptEngine_tA205B1509C358B6259FF674382A933492ADAA710 * __this, Func_1_tD5C081AE11746B200C711DD48DBEB00E3A9276D4 * ___0_func, const MethodInfo * method) Line 17885    C++
    GameAssembly.dll!GenericVirtualFuncInvoker1<Il2CppObject *,Func_1_tD5C081AE11746B200C711DD48DBEB00E3A9276D4 *>::Invoke(const MethodInfo * method, Il2CppObject * obj, Func_1_tD5C081AE11746B200C711DD48DBEB00E3A9276D4 * p1) Line 110   C++
    GameAssembly.dll!HostItem_HostInvoke_TisRuntimeObject_m84B4B43A3F46F322D8B75657C0F4AB2C806AD1F5_gshared(HostItem_tA2F0552EF8E9B0F33172958FFA2AA82D761B2B78 * __this, Func_1_tD5C081AE11746B200C711DD48DBEB00E3A9276D4 * ___0_func, const MethodInfo * method) Line 22614    C++
    GameAssembly.dll!HostItem_HostInvoke_TisRuntimeObject_m84B4B43A3F46F322D8B75657C0F4AB2C806AD1F5(HostItem_tA2F0552EF8E9B0F33172958FFA2AA82D761B2B78 * __this, Func_1_tD5C081AE11746B200C711DD48DBEB00E3A9276D4 * ___0_func, const MethodInfo * method) Line 6047 C++
    GameAssembly.dll!HostItem_InvokeReflectMember_m2B90275817998FF9ADB118A7EFB4132A62921654(HostItem_tA2F0552EF8E9B0F33172958FFA2AA82D761B2B78 * __this, String_t * ___0_name, int ___1_invokeFlags, ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918 * ___2_wrappedArgs, CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0 * ___3_culture, StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248 * ___4_namedParams, bool * ___5_isCacheable, const MethodInfo * method) Line 24373 C++
    GameAssembly.dll!HostItem_InvokeReflectMember_mFD5D096DC4FDCD78BF6F2058117EC190325EE17F(HostItem_tA2F0552EF8E9B0F33172958FFA2AA82D761B2B78 * __this, String_t * ___0_name, int ___1_invokeFlags, ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918 * ___2_wrappedArgs, CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0 * ___3_culture, StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248 * ___4_namedParams, const MethodInfo * method) Line 24315  C++
    GameAssembly.dll!HostItem_System_Reflection_IReflect_InvokeMember_mFF514920029EA94755E57F58B390DD3F3C5E1608(HostItem_tA2F0552EF8E9B0F33172958FFA2AA82D761B2B78 * __this, String_t * ___0_name, int ___1_invokeFlags, Binder_t91BFCE95A7057FADF4D8A1A342AFE52872246235 * ___2_binder, Il2CppObject * ___3_invokeTarget, ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918 * ___4_wrappedArgs, ParameterModifierU5BU5D_t685261AD991B1E6582A0E53243DEE3B745E13364 * ___5_modifiers, CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0 * ___6_culture, StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248 * ___7_namedParams, const MethodInfo * method) Line 29555    C++
    GameAssembly.dll!InterfaceFuncInvoker8<Il2CppObject *,String_t *,int,Binder_t91BFCE95A7057FADF4D8A1A342AFE52872246235 *,Il2CppObject *,ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918 *,ParameterModifierU5BU5D_t685261AD991B1E6582A0E53243DEE3B745E13364 *,CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0 *,StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248 *>::Invoke(unsigned short slot, Il2CppClass * declaringInterface, Il2CppObject * obj, String_t * p1, int p2, Binder_t91BFCE95A7057FADF4D8A1A342AFE52872246235 * p3, Il2CppObject * p4, ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918 * p5, ParameterModifierU5BU5D_t685261AD991B1E6582A0E53243DEE3B745E13364 * p6, CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0 * p7, StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248 * p8) Line 198    C++
    GameAssembly.dll!HostItem_Microsoft_ClearScript_Util_IDynamic_Invoke_m51D540FA0F1FEB954DBA11F2D8114F982E5B6545(HostItem_tA2F0552EF8E9B0F33172958FFA2AA82D761B2B78 * __this, bool ___0_asConstructor, ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918 * ___1_args, const MethodInfo * method) Line 29878  C++
    GameAssembly.dll!InterfaceFuncInvoker2<Il2CppObject *,bool,ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918 *>::Invoke(unsigned short slot, Il2CppClass * declaringInterface, Il2CppObject * obj, bool p1, ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918 * p2) Line 187  C++
    GameAssembly.dll!V8ProxyHelpers_InvokeHostObject_m71652729AB105D10FD5FCBADC8FE04DFAD3C7476(Il2CppObject * ___0_obj, bool ___1_asConstructor, ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918 * ___2_args, const MethodInfo * method) Line 11457  C++
    GameAssembly.dll!V8ProxyHelpers_InvokeHostObject_mD6A453250C9C1818FC99F2BDDEA07C572349EB90(__int64 ___0_pObject, bool ___1_asConstructor, ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918 * ___2_args, const MethodInfo * method) Line 11438 C++
    GameAssembly.dll!V8SplitProxyManaged_InvokeHostObject_m97C03EE8AC0B9502B8FC0F7EC94FA6D0B1A45F4A(__int64 ___0_pObject, bool ___1_asConstructor, int ___2_argCount, Ptr_t1120454B48B4DD066BB2EDD8842C45F6090B57DA ___3_pArgs, Ptr_t829869E730BFBF6B17ABAD628318AC293D7DBE20 ___4_pResult, const MethodInfo * method) Line 20174   C++
    GameAssembly.dll!ReversePInvokeWrapper_V8SplitProxyManaged_InvokeHostObject_m97C03EE8AC0B9502B8FC0F7EC94FA6D0B1A45F4A(__int64 ___0_pObject, int ___1_asConstructor, int ___2_argCount, Ptr_t1120454B48B4DD066BB2EDD8842C45F6090B57DA ___3_pArgs, Ptr_t829869E730BFBF6B17ABAD628318AC293D7DBE20 ___4_pResult) Line 18311 C++
    [External Code] 
    GameAssembly.dll!Impl_Windows_X64_V8Object_Invoke_m90FDEA0B04467316A300575E5B75662FD43E8B8E(Handle_tEBE78EE4D7F33E5820B027E9A0991B6F999429CD ___0_hObject, bool ___1_asConstructor, Ptr_t17FE6EFFBCC02967D8DF72851BD135938C09623B ___2_pArgs, Ptr_t829869E730BFBF6B17ABAD628318AC293D7DBE20 ___3_pResult, const MethodInfo * method) Line 42828 C++
    GameAssembly.dll!Impl_Windows_X64_Microsoft_ClearScript_V8_SplitProxy_IV8SplitProxyNative_V8Object_Invoke_m4AA07E5FEBD17D9AF78E0BD54359D58EDF5D4E57(Impl_Windows_X64_t0CB3E039404AB7BAB08DD44914085C579E0F2B77 * __this, Handle_tEBE78EE4D7F33E5820B027E9A0991B6F999429CD ___0_hObject, bool ___1_asConstructor, ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918 * ___2_args, const MethodInfo * method) Line 39349  C++
    GameAssembly.dll!InterfaceFuncInvoker3<Il2CppObject *,Handle_tEBE78EE4D7F33E5820B027E9A0991B6F999429CD,bool,ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918 *>::Invoke(unsigned short slot, Il2CppClass * declaringInterface, Il2CppObject * obj, Handle_tEBE78EE4D7F33E5820B027E9A0991B6F999429CD p1, bool p2, ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918 * p3) Line 175    C++
    GameAssembly.dll!U3CU3Ec__DisplayClass26_0_U3CInvokeU3Eb__0_m6B1EEE0C9BDF36E707AFDE6909AA27438E78B528(U3CU3Ec__DisplayClass26_0_t8D1AE6072DA69289B1DF0882F5C2FD5B0A359121 * __this, Il2CppObject * ___0_instance, const MethodInfo * method) Line 7139  C++
    GameAssembly.dll!Func_2_Invoke_mDBA25DA5DA5B7E056FB9B026AF041F1385FB58A9_gshared_inline(Func_2_tACBF5A1656250800CE861707354491F0611F6624 * __this, Il2CppObject * ___0_arg, const MethodInfo * method) Line 35254   C++
    GameAssembly.dll!Func_2_Invoke_m274606A698ECBAF90F1AF090F51F7FC4B6D32499_inline(Func_2_tFEBA165BBB9E6B12FF421E7598B166A1DAFC7AA7 * __this, Il2CppObject * ___0_arg, const MethodInfo * method) Line 12505   C++
    GameAssembly.dll!V8SplitProxyNative_Invoke_TisRuntimeObject_mC840DF88694E1108C275807700D6C9FEB9B9DAB2_gshared(Func_2_tFEBA165BBB9E6B12FF421E7598B166A1DAFC7AA7 * ___0_func, const MethodInfo * method) Line 20555   C++
    GameAssembly.dll!V8SplitProxyNative_Invoke_TisRuntimeObject_mC840DF88694E1108C275807700D6C9FEB9B9DAB2(Func_2_tFEBA165BBB9E6B12FF421E7598B166A1DAFC7AA7 * ___0_func, const MethodInfo * method) Line 5502    C++
    GameAssembly.dll!V8ObjectImpl_Invoke_m783FB6EF5A3C3D7613D61F3F8EDAA5DE964878D0(V8ObjectImpl_tBFBB3DB1A500818538F1BADACB2B30805A425CAD * __this, bool ___0_asConstructor, ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918 * ___1_args, const MethodInfo * method) Line 6344   C++
    GameAssembly.dll!InterfaceFuncInvoker2<Il2CppObject *,bool,ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918 *>::Invoke(unsigned short slot, Il2CppClass * declaringInterface, Il2CppObject * obj, bool p1, ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918 * p2) Line 187  C++
    GameAssembly.dll!U3CU3Ec__DisplayClass21_0_U3CInvokeU3Eb__0_m73FD5CD3801A58CC470BE0E0D16054B1C09C8D9F(U3CU3Ec__DisplayClass21_0_t6DFD2F66137A83D628ABF7DFF7E2A0551A1AF00D * __this, const MethodInfo * method) Line 23438   C++
    GameAssembly.dll!Func_1_Invoke_m1412272198DFA4066C83206E5B43353AF10A2EEE_gshared_inline(Func_1_tD5C081AE11746B200C711DD48DBEB00E3A9276D4 * __this, const MethodInfo * method) Line 31904    C++
    GameAssembly.dll!Func_1_Invoke_m1412272198DFA4066C83206E5B43353AF10A2EEE_inline(Func_1_tD5C081AE11746B200C711DD48DBEB00E3A9276D4 * __this, const MethodInfo * method) Line 4524 C++
    GameAssembly.dll!ScriptEngine_ScriptInvokeInternal_TisRuntimeObject_m524E7FC392147D358CE8C9F70AAE9CC0CFFEE78A_gshared(ScriptEngine_tA205B1509C358B6259FF674382A933492ADAA710 * __this, Func_1_tD5C081AE11746B200C711DD48DBEB00E3A9276D4 * ___0_func, const MethodInfo * method) Line 18245  C++
    GameAssembly.dll!ScriptEngine_ScriptInvokeInternal_TisRuntimeObject_m524E7FC392147D358CE8C9F70AAE9CC0CFFEE78A(ScriptEngine_tA205B1509C358B6259FF674382A933492ADAA710 * __this, Func_1_tD5C081AE11746B200C711DD48DBEB00E3A9276D4 * ___0_func, const MethodInfo * method) Line 10699  C++
    GameAssembly.dll!U3CU3Ec__DisplayClass127_0_1_U3CScriptInvokeU3Eb__0_m48459A562921D59E5B7158E2AB4904E8D170B92F_gshared(U3CU3Ec__DisplayClass127_0_1_t404A6D7039CEE8FA1D4C7E56F0DB7FBD9C71A8EB * __this, const MethodInfo * method) Line 27184   C++
    GameAssembly.dll!Action_Invoke_m7126A54DACA72B845424072887B5F3A51FC3808E_inline(Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07 * __this, const MethodInfo * method) Line 2225 C++
    GameAssembly.dll!V8SplitProxyManaged_InvokeHostAction_m5539B54D49A22C9042780D5BCFDC2F6DB35477B8(__int64 ___0_pAction, const MethodInfo * method) Line 19382 C++
    GameAssembly.dll!ReversePInvokeWrapper_V8SplitProxyManaged_InvokeHostAction_m5539B54D49A22C9042780D5BCFDC2F6DB35477B8(__int64 ___0_pAction) Line 18112  C++
    [External Code] 
    GameAssembly.dll!Impl_Windows_X64_V8Context_InvokeWithLock_mFE0E364893928F537AF234FCE1DAEAC6485D0C35(Handle_tA59658F904D67379DE74F14317BD5044B09CCD61 ___0_hContext, __int64 ___1_pAction, const MethodInfo * method) Line 42062    C++
    GameAssembly.dll!Impl_Windows_X64_Microsoft_ClearScript_V8_SplitProxy_IV8SplitProxyNative_V8Context_InvokeWithLock_m685179C998AFE920D54E92D57BC9EADFF42763C4(Impl_Windows_X64_t0CB3E039404AB7BAB08DD44914085C579E0F2B77 * __this, Handle_tA59658F904D67379DE74F14317BD5044B09CCD61 ___0_hContext, __int64 ___1_pAction, const MethodInfo * method) Line 36924   C++
    GameAssembly.dll!InterfaceActionInvoker2<Handle_tA59658F904D67379DE74F14317BD5044B09CCD61,__int64>::Invoke(unsigned short slot, Il2CppClass * declaringInterface, Il2CppObject * obj, Handle_tA59658F904D67379DE74F14317BD5044B09CCD61 p1, __int64 p2) Line 152 C++
    GameAssembly.dll!U3CU3Ec__DisplayClass13_0_U3CInvokeWithLockU3Eb__0_m66175272CF4208CB5DF69FCB1F66F91D7D28CDBE(U3CU3Ec__DisplayClass13_0_tF15BD478C397A6B3960F3473BCDB612C35CC22BE * __this, Il2CppObject * ___0_instance, const MethodInfo * method) Line 25590 C++
    GameAssembly.dll!Action_1_Invoke_mF2422B2DD29F74CE66F791C3F68E288EC7C3DB9E_gshared_inline(Action_1_t6F9EB113EB3F16226AEF811A2744F4111C116C87 * __this, Il2CppObject * ___0_obj, const MethodInfo * method) Line 26951   C++
    GameAssembly.dll!Action_1_Invoke_m8CA465393E22DA5ED77CAD35C9707CC71867D7F6_inline(Action_1_t50E030745BB191520D98189ADB6395E9AD4392CF * __this, Il2CppObject * ___0_obj, const MethodInfo * method) Line 4498    C++
    GameAssembly.dll!V8SplitProxyNative_Invoke_mC1FD638764848457242AD8200300A574453D6230(Action_1_t50E030745BB191520D98189ADB6395E9AD4392CF * ___0_action, const MethodInfo * method) Line 24686    C++
    GameAssembly.dll!V8ContextProxyImpl_InvokeWithLock_m99E79656FAE7AFAE0364DE847D7937763BBA6F6B(V8ContextProxyImpl_t48D9F5C437ECC058AB7ACE6877A31FF33E4449AE * __this, Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07 * ___0_action, const MethodInfo * method) Line 24033   C++
    GameAssembly.dll!VirtualActionInvoker1<Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07 *>::Invoke(unsigned short slot, Il2CppObject * obj, Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07 * p1) Line 32  C++
    GameAssembly.dll!V8ScriptEngine_ScriptInvoke_TisRuntimeObject_m30AFE9FC715B7711B39A831B6BDC1668A9488017_gshared(V8ScriptEngine_tEEADFA41B8FE37395F46BBCDB1FD4DAD8AECECEF * __this, Func_1_tD5C081AE11746B200C711DD48DBEB00E3A9276D4 * ___0_func, const MethodInfo * method) Line 20184  C++
    GameAssembly.dll!V8ScriptEngine_ScriptInvoke_TisRuntimeObject_m30AFE9FC715B7711B39A831B6BDC1668A9488017(V8ScriptEngine_tEEADFA41B8FE37395F46BBCDB1FD4DAD8AECECEF * __this, Func_1_tD5C081AE11746B200C711DD48DBEB00E3A9276D4 * ___0_func, const MethodInfo * method) Line 5097   C++
    GameAssembly.dll!V8ScriptItem_Invoke_mC6C23E1A0CF5FC3AE052FFE7559B83918E7925AD(V8ScriptItem_t444D0B2A1F7C4745EA24EA8A26557B53AE17EC92 * __this, bool ___0_asConstructor, ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918 * ___1_args, const MethodInfo * method) Line 20428  C++
    GameAssembly.dll!VirtualFuncInvoker2<Il2CppObject *,bool,ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918 *>::Invoke(unsigned short slot, Il2CppObject * obj, bool p1, ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918 * p2) Line 87   C++
    GameAssembly.dll!ScriptObject_InvokeAsFunction_m4CC49A2033DCB095F00D0FC48F68E540B33C2C75(ScriptObject_t8553E82A79A7E69DAD8FDF38FD162BB0E9A4BB8B * __this, ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918 * ___0_args, const MethodInfo * method) Line 26969 C++
    GameAssembly.dll!SceneRuntimeImpl_StartScene_m99771619F5A97497AB58A1D9FE66301B1AF62603(SceneRuntimeImpl_t8DCFFA090D47C2DC866EFC78AA503166974F1476 * __this, const MethodInfo * method) Line 3567    C++
    GameAssembly.dll!InterfaceFuncInvoker0<UniTask_t8E1453C1D8424B1FC22B0E51B017D3B028E17270>::Invoke(unsigned short slot, Il2CppClass * declaringInterface, Il2CppObject * obj) Line 64    C++
    GameAssembly.dll!U3CStartUpdateLoopAsyncU3Ed__21_MoveNext_m2EBCB6DC7D2E8369B63071B2E28C7A79103993D2(U3CStartUpdateLoopAsyncU3Ed__21_t01593DEBA27BF6FAF163EF5C4A72D0BE50BE6D27 * __this, const MethodInfo * method) Line 18429   C++
    GameAssembly.dll!InterfaceActionInvoker0::Invoke(unsigned short slot, Il2CppClass * declaringInterface, Il2CppObject * obj) Line 42 C++
    GameAssembly.dll!AsyncUniTaskMethodBuilder_Start_TisRuntimeObject_mB47A7ED4A1E8E03B2C64A9071007BD0BD052D831_gshared_inline(AsyncUniTaskMethodBuilder_t490751EC621C472E098B12103AF16BC549912BB0 * __this, Il2CppObject * * ___0_stateMachine, const MethodInfo * method) Line 7312   C++
    GameAssembly.dll!AsyncUniTaskMethodBuilder_Start_TisU3CStartUpdateLoopAsyncU3Ed__21_t01593DEBA27BF6FAF163EF5C4A72D0BE50BE6D27_m2CAAE5962D921F2367342B73A8ACCA9BB10C3C7F_inline(AsyncUniTaskMethodBuilder_t490751EC621C472E098B12103AF16BC549912BB0 * __this, U3CStartUpdateLoopAsyncU3Ed__21_t01593DEBA27BF6FAF163EF5C4A72D0BE50BE6D27 * * ___0_stateMachine, const MethodInfo * method) Line 11219 C++
    GameAssembly.dll!SceneFacade_StartUpdateLoopAsync_m67F9FF44BB91D750F669C069CEB283C28B9CD309(SceneFacade_tD030B5D42A6328F31BA0151DEC6A82F8475746E6 * __this, int ___0_targetFPS, CancellationToken_t51142D9C6D7C02D314DA34A6A7988C528992FFED ___1_ct, const MethodInfo * method) Line 17507  C++
    GameAssembly.dll!InterfaceFuncInvoker2<UniTask_t8E1453C1D8424B1FC22B0E51B017D3B028E17270,int,CancellationToken_t51142D9C6D7C02D314DA34A6A7988C528992FFED>::Invoke(unsigned short slot, Il2CppClass * declaringInterface, Il2CppObject * obj, int p1, CancellationToken_t51142D9C6D7C02D314DA34A6A7988C528992FFED p2) Line 152   C++
    GameAssembly.dll!U3CU3CStartSceneU3Eg__RunOnThreadPoolAsyncU7C0U3Ed_MoveNext_m5F574EB9D83E954644BD019B44E521F20648BEF9(U3CU3CStartSceneU3Eg__RunOnThreadPoolAsyncU7C0U3Ed_t4F734077027BC0F07934F78F65A49EC7903EAFDB * __this, const MethodInfo * method) Line 18645 C++
    GameAssembly.dll!InterfaceActionInvoker0::Invoke(unsigned short slot, Il2CppClass * declaringInterface, Il2CppObject * obj) Line 42 C++
    GameAssembly.dll!AsyncUniTaskVoid_1_Run_mBDF2A52650746856EC5A87355245E7C13AC86831_gshared(AsyncUniTaskVoid_1_t091369A08A3537EB46049DB77DE460F6914AAAC0 * __this, const MethodInfo * method) Line 29302  C++
    GameAssembly.dll!Action_Invoke_m7126A54DACA72B845424072887B5F3A51FC3808E_inline(Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07 * __this, const MethodInfo * method) Line 2225 C++
    GameAssembly.dll!Awaiter_Callback_m59E042793983D119D33FED28E23C4F336B0B2904(Il2CppObject * ___0_state, const MethodInfo * method) Line 26257    C++
    GameAssembly.dll!WaitCallback_Invoke_m64DEF4A3CA7415272C91ED098302BBC2B5776EBD_OpenStatic(WaitCallback_tFB2C7FD58D024BBC2B0333DC7A4CB63B8DEBD5D3 * __this, Il2CppObject * ___0_state, const MethodInfo * method) Line 9812  C++
    GameAssembly.dll!WaitCallback_Invoke_m64DEF4A3CA7415272C91ED098302BBC2B5776EBD_inline(WaitCallback_tFB2C7FD58D024BBC2B0333DC7A4CB63B8DEBD5D3 * __this, Il2CppObject * ___0_state, const MethodInfo * method) Line 31546 C++
    GameAssembly.dll!QueueUserWorkItemCallback_System_Threading_IThreadPoolWorkItem_ExecuteWorkItem_m245EEC01BB28BFA6238BE5E57A82AE9965C5E439(QueueUserWorkItemCallback_tE58093EE47B1B1760CF38C831CC11B9131137A5E * __this, const MethodInfo * method) Line 12201   C++
    GameAssembly.dll!InterfaceActionInvoker0::Invoke(unsigned short slot, Il2CppClass * declaringInterface, Il2CppObject * obj) Line 42 C++
    GameAssembly.dll!ThreadPoolWorkQueue_Dispatch_mEAAC936B3756DAA856BA3A4D976A98A3184CDC87(const MethodInfo * method) Line 10741   C++
    GameAssembly.dll!_ThreadPoolWaitCallback_PerformWaitCallback_m6D08BAF0E0D909F86341B3EFBABCF294074C0B00(const MethodInfo * method) Line 12119    C++
    GameAssembly.dll!RuntimeInvoker_FalseByte_t94D9231AC217BE4D2E004C4CD32DF6D099EA41A3(void(*)() methodPointer, const MethodInfo * methodMetadata, void * obj, void * * args, void * returnAddress) Line 502868    C++
    GameAssembly.dll!il2cpp::vm::Runtime::InvokeWithThrow(const MethodInfo * method, void * obj, void * * params) Line 615  C++
    GameAssembly.dll!worker_thread(void * data) Line 250    C++
    GameAssembly.dll!il2cpp::vm::ThreadStart(void * arg) Line 690   C++
    GameAssembly.dll!il2cpp::os::Thread::RunWrapper(void * arg) Line 202    C++
    GameAssembly.dll!il2cpp::os::ThreadStartWrapper(void * arg) Line 30 C++
    [External Code] 
m3taphysics commented 7 months ago

I have confirmed there is a memory stomp here:

public static unsafe void WriteEnumAs<TEnum, TTo>(this ref Span<byte> span, TEnum value)
            where TTo: unmanaged
            where TEnum: unmanaged, Enum
        {
            TTo result = Unsafe.As<TEnum, TTo>(ref value);
            int sizeDiff = sizeof(TTo) - sizeof(TEnum);

            if (sizeDiff > 0)
            {
                // zero remaining bytes
                // Get a pointer to the start of the value's memory
                var pResult = (byte*)Unsafe.AsPointer(ref result);

                // Zero out the additional bytes
                Unsafe.InitBlockUnaligned(pResult + sizeof(TEnum), 0, (uint)sizeDiff);
            }

            MemoryMarshal.Write(span, ref result);
            span = span[sizeof(TTo)..];
        }

Ensuring that we do not overrun with the initialization prevents the memory stomp. But looking at the code the problem doesn't make sense since I can only find one usage here:

destination.WriteEnumAs<CRDTMessageType, int>(crdtMessage.Type);