Search Issue Tracker
Fixed
Fixed in 2021.3.31f1, 2022.3.11f1, 2023.1.14f1, 2023.2.0b10, 2023.3.0a6, 2024.1.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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Add comment