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
- 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
- JsonConvert conversion fails trying to call GetCallbackMethodsForType when [OnDeserialized] is used in a class
- Different text alignment in the column header in Entities "System" window
- Objects with Universal Render Pipeline/Particles/Lit shader are always lit up when changing their Rendering Layer Mask
This is a duplicate of issue #1365974