Search Issue Tracker

Fixed

Fixed in 6000.0.54f1, 6000.1.12f1, 6000.2.0b10, 6000.3.0a2

Votes

0

Found in

2022.3.59f1

6000.0.40f1

6000.1.0b5

6000.2.0a4

6000.3.0a1

Issue ID

UUM-99049

Regression

No

Crash on RaiseException when using default interface methods

-

Reproduction steps:
1. Open the attached project "CrashRepro" (or create a new project and add “CrashScript“ to a GameObject in the scene)
2. Enter the play mode

Expected result: Script executes and Play mode continues
Actual result: Editor crashes

Reproducible with: 2022.3.59f1, 6000.0.40f1, 6000.1.0b5, 6000.2.0a4

Reproducible on: Windows 11
Not reproducible on: No other environment tested

Notes:
Removing one or adding more unused interface methods stops it from crashing.

The first few lines of the stack trace:

{noformat}0x00007FFB1604FB4C (KERNELBASE) RaiseException
0x00007FFA77FA0C1C (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\utils\mono-log-common.c:143] mono_log_write_logfile
0x00007FFA77F8C822 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\eglib\goutput.c:172] monoeg_g_logv_nofree
0x00007FFA77F8C8FC (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\eglib\goutput.c:217] monoeg_assertion_message
0x00007FFA782AEB98 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\mini\mini-trampolines.c:716] common_call_trampoline
0x00007FFA782AF452 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\mini\mini-trampolines.c:877] mono_vcall_trampoline {noformat}

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.