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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
This is a duplicate of issue #1365974