Search Issue Tracker
Fixed in 2022.2.X
Fixed in 2021.3.X, 2022.1.X
Votes
0
Found in
2019.4
2020.3
2021.2
2022.1
2022.1.0a16
Issue ID
1390445
Regression
No
Crash on mono_log_write_logfile when calling Marshal.GetFunctionPointerForDelegate on a delegate with a Nullable<T> return value
Reproduction steps:
1. Open the project "1390445.zip"
2. Drag "Test.cs" script onto any object in the Hierarchy
3. Enter Play Mode
Reproducible with: 2019.4.34f1, 2020.3.25f1, 2021.2.7f1, 2022.1.0b2
========== OUTPUTTING STACK TRACE ==================
0x00007FFD79224F69 (KERNELBASE) RaiseException
0x00007FFCED2D064C (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\utils\mono-log-common.c:143] mono_log_write_logfile
0x00007FFCED2BC4A2 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\eglib\goutput.c:172] monoeg_g_logv_nofree
0x00007FFCED2BC57C (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\eglib\goutput.c:215] monoeg_assertion_message
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
- “Readme” Asset is unreadable in the Inspector window when switching Editor Theme to Light
- “NullReferenceException” error thrown when switching Editor Theme to Light if “Unity Version Control” tab is enabled
- A Warning is displayed in the Inspector when a Mesh with any Material is added as a Terrain Detail
- [Android][Vulkan] Memory leak when playing and stopping a video using the Video Player on some devices
- Caret moves by a character when typing "." and any number into 'Grid and Snap' toolbar's input field
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.0a11. A patch to the Unity fork of Mono has merged to throw the proper exception when creating a function pointer to a managed method with a generic return type. The Unity editor crash will be avoided. https://github.com/Unity-Technologies/mono/pull/1561
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.4f1
Resolution Note (fix version 2021.3):
Fixed in: 2021.3.4f1