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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
This is a duplicate of issue #1365974