Search Issue Tracker
Duplicate
Votes
0
Found in
2021.2
2021.2.9f1
2022.1
2022.2
Issue ID
1399413
Regression
No
Crash when using default methods of a generic interface
Reproduction steps:
1. Open the attached project "1399413_crash_test"
2. Enter Play Mode
Expected result: Editor compiles scripts and enters Play Mode successfully
Actual result: Editor crashes
Reproducible with: 2021.2.10f1, 2022.1.0b4, 2022.2.0a4
Couldn't test with: 2019.4, 2020.3 (support for default interface methods not introduced yet)
First lines of stacktrace:
0x00007FFE28414F69 (KERNELBASE) RaiseException
0x00007FFD9363064C (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\utils\mono-log-common.c:143] mono_log_write_logfile
0x00007FFD9361C4A2 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\eglib\goutput.c:172] monoeg_g_logv_nofree
0x00007FFD9361C57C (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\eglib\goutput.c:215] monoeg_assertion_message
0x00007FFD9361C5C9 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\eglib\goutput.c:231] mono_assertion_message
0x00007FFD939267EC (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\mini\mini-exceptions.c:884] mono_get_generic_context_from_stack_frame
-
Resolution Note (2022.2.X):
A patch has been applied to our fork of Mono to address this issue.
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
This is a duplicate of issue #1365974