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

Mono

-

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

  1. Resolution Note (2022.2.X):

    A patch has been applied to our fork of Mono to address this issue.

    https://github.com/Unity-Technologies/mono/pull/1551

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.