Search Issue Tracker
Fixed
Fixed in 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
- Animation Clip with Legacy enabled does not play when Time.timeScale is set to 0 despite Update mode set to "Unscaled time"
- Rename is enabled on subfolder empty space - "Can't rename to empty name" warning
- SamplerState Property Missing Anisotropic Filtering
- Visual glitches when using Handles API
- The RGBA color values are inconsistent when comparing two identical colors set in the Inspector
Add comment