Search Issue Tracker
Fixed
Fixed in 2021.3.37f1, 2022.3.23f1, 2023.2.19f1, 6000.0.0b14, 7000.0.0a1
Votes
0
Found in
2021.3.35f1
2022.3.20f1
2023.2.11f1
2023.3.0b8
6000.0.0b11
Issue ID
UUM-64457
Regression
Yes
Crash on il2cpp::vm::Runtime::InvokeWithThrow in the Player when "System.Reflection.MethodBase.Invoke(null, object[])" is called
How to reproduce:
1. Open the “il2cppAccessViolationCrash” project
2. Open the “SampleScene”
3. Make sure that the “Scripting Backend” is set to “IL2CPP” (File > Build Settings > Player Settings > Other Settings > “Configuration”)
4. Build And Run
Expected result: The Player does not crash and the “ExecutionEngineException” exception is logged to Player.log
Actual result: The Player crashes
Reproduced with: 2021.1.0a1, 2021.3.35f1, 2022.3.20f1, 2023.2.11f1, 2023.3.0b8
Not reproduced with: 2020.2.0a21
Reproduced on: Windows 11
Not reproduced on: No other environment tested
Notes:
1. Not reproducible with “Mono” Scripting Backend
2. Not reproducible in the Editor
First few lines of the stack trace:
0x00007FF8043A7596 (GameAssembly) [C:\UnitySrc\2023.3.0b8\Editor\Data\il2cpp\libil2cpp\vm\Runtime.cpp:625] il2cpp::vm::Runtime::InvokeWithThrow
0x00007FF8043A7039 (GameAssembly) [C:\UnitySrc\2023.3.0b8\Editor\Data\il2cpp\libil2cpp\vm\Runtime.cpp:610] il2cpp::vm::Runtime::Invoke
0x00007FF8043A7423 (GameAssembly) [C:\UnitySrc\2023.3.0b8\Editor\Data\il2cpp\libil2cpp\vm\Runtime.cpp:872] il2cpp::vm::Runtime::InvokeConvertArgs
0x00007FF8043A70B2 (GameAssembly) [C:\UnitySrc\2023.3.0b8\Editor\Data\il2cpp\libil2cpp\vm\Runtime.cpp:665] il2cpp::vm::Runtime::InvokeArray
0x00007FF8043CBF5C (GameAssembly) [C:\UnitySrc\2023.3.0b8\Editor\Data\il2cpp\libil2cpp\icalls\mscorlib\System.Reflection\RuntimeMethodInfo.cpp:188] il2cpp::icalls::mscorlib::System::Reflection::RuntimeMethodInfo::InternalInvoke
Comments (1)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
RandomUnityDev123
Apr 09, 2024 17:12
Do we know if this happens for 2022.3.10f1?