Search Issue Tracker
Fixed in 2021.3.9f1
Fixed in 2021.3.X, 2022.1.X, 2022.2.X, 2023.1.X, 2023.1.0a6
Votes
0
Found in
2021.3.7f1
2022.1.1f1
2022.2.0a13
2023.1.0a3
Issue ID
UUM-603
Regression
No
Crash on invoking function pointer (runtime_invoke_object) when type argument is a class
How to reproduce:
1. Open the attached project "function-pointers-corruption.zip"
2. In the Menu bar navigate to "TEST" > last option in the dropdown menu
Reproducible with: 2021.2.17f1, 2022.1.0b14, 2022.2.0a8
Couldn't test with: 2019.4.37f1, 2020.3.32f1 (Test scripts syntax errors)
First lines of the stack trace:
0x00007fffeb826962 (mono-2.0-bdwgc) \[mini-exceptions.c:917] get_method_from_stack_frame
0x00007fffeb827ead (mono-2.0-bdwgc) \[mini-exceptions.c:1381] mono_walk_stack_full
0x00007fffeb827851 (mono-2.0-bdwgc) \[mini-exceptions.c:1204] mono_walk_stack_with_ctx
0x00007fffeb6b1cac (mono-2.0-bdwgc) \[threads.c:4275] mono_unity_managed_callstack
0x00007ff686a97844 (Unity) MonoManager::ExtractStackTraceQuick
0x00007ff685cf0b9a (Unity) Debug_CUSTOM_ExtractStackTraceNoAlloc
0x000001b6e5c45ba8 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.Debug:ExtractStackTraceNoAlloc (byte*,int,string)
0x000001b6e5c45a03 (Mono JIT Code) UnityEngine.StackTraceUtility:ExtractStackTrace ()
0x000001b6e2b380d5 (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_object (object,intptr,intptr,intptr)
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
- After converting a Built-in project to URP render texture related errors are spammed that can lead to Game view being rendered on top of Scene view
- UI Builder slider value lags and stutters when sliding/modifying certain property values
- "Reset UI Builder Layout" functionality inconsistently changes Canva Size when "Match Game View" is enabled/disabled
- Texture Import Warnings are obscured by other Terrain Layer options in the Inspector
- Burst Inspector middle divider is jittering when resized with the Burst Inspector window docked
Resolution Note (fix version 2023.1):
Fixed crash that would occur when a generic class was passed through a function pointer.
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.16f1