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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Add comment