Search Issue Tracker
Fixed
Fixed in 2021.3.48f1, 2022.3.53f1, 6000.0.28f1, 6000.1.0a5, 7000.0.0a10
Votes
9
Found in
2021.3.43f1
2022.3.44f1
6000.0.18f1
Issue ID
UUM-79025
Regression
No
Crash on RaiseException when using the default Equals(object) implementation in a value type containing a function pointer
Reproduction steps:
1. Open the attached “repro-project“
2. Open the “Assets/Scenes/SampleScene.unity“ scene
3. Enter Play Mode
4. Observe the crash
Reproducible with: 2021.3.43f1, 2022.3.44f1, 6000.0.18f1
Reproduced on: Windows 10
Not reproducible on: No other environment tested
Notes:
1. Also reproduced in Player
2. The script that causes the crash compares value types containing function pointers using the Equals(object) method
3. The logs show an error before the crash: type 0x1b not handled in mono_field_get_value_object
First few lines of the stack trace:
0x00007FFB70E9B699 (KERNELBASE) RaiseException
0x00007FFAA48D0C1C (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\utils\mono-log-common.c:143] mono_log_write_logfile
0x00007FFAA48BC822 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\eglib\goutput.c:172] monoeg_g_logv_nofree
0x00007FFAA48BC888 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\eglib\goutput.c:187] monoeg_g_log
0x00007FFAA4A2EEC0 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\object.c:3680] mono_field_get_value_object_checked
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Channel remapping dropdown in the Terrain Layer does not open when clicked on the title
- The Editor freezes indefinitely when a large number of elements are entered in the Subgraphs or Categories lists
- Some Visual Effects package Assets links to documentation are not working
- Heatmap asset’s documentation button in the Inspector window leads to “Sorry... that page seems to be missing!” page when clicked
- Crash on MonoBehaviour::CallMethodIfAvailable when performing various actions
Add comment