Search Issue Tracker
Fixed
Fixed in 2021.3.31f1, 2022.3.11f1, 2023.1.14f1, 2023.2.0b10, 2023.3.0a6, 7000.0.0a1
Votes
0
Found in
2021.3.28f1
2022.3.5f1
2023.1.5f1
2023.2.0b1
Issue ID
UUM-42937
Regression
No
Player crashes on il2cpp::vm::Runtime::InvokeWithThrow when using the "when" keyword in a try-catch block and calling the Log.DebugException() method
Reproduction steps:
1. Open the "IN-47180.zip" project
2. Open "Assets/Scenes/SampleScene"
3. Build and Run the project
Expected result: The Player does not crash
Actual result: The Player crashes
Reproducible with: 2021.3.28f1, 2022.3.5f1, 2023.1.5f1, 2023.2.0b1
Reproducible on: Windows 10
Note: Crashes only when the Debug.LogException() method is called in the regular catch block
First lines of stacktrace:
(GameAssembly) [%USERPROFILE%\Downloads\IN-47180_CatchWhenCrash\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Assembly-CSharp.cpp:417] CatchWhenCrash_Start_m006783440FB0EC0FDD75023A6D7F796A07F93A7A
(GameAssembly) [C:\Program Files\Unity\2022.3.5f1_9674261d40ee_x64\Data\il2cpp\libil2cpp\vm\Runtime.cpp:605] il2cpp::vm::Runtime::InvokeWithThrow
(GameAssembly) [C:\Program Files\Unity\2022.3.5f1_9674261d40ee_x64\Data\il2cpp\libil2cpp\vm\Runtime.cpp:590] il2cpp::vm::Runtime::Invoke
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Joint Physics result in unexpected behaviors when used for articulated vehicles like buses or trucks
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts which worked with TMP Font Asset Creator
Add comment