Search Issue Tracker

Fixed

Fixed in 2021.3.2f1, 2022.3.30f1, 6000.0.0b15

Votes

0

Found in

2021.3.1f1

2022.3.29f1

6000.0.0b14

Issue ID

UUM-75000

Regression

No

Crash on RaiseException when using a managed DLL that is coded in a different .NET language than C#

--

-

How to reproduce:
1. Open the attached "CrashRepro" project

Reproducible with: 2021.3.1f1, 2022.3.29f1, 6000.0.0b14
Not reproducible with: 2021.3.40f1, 2022.3.36f1, 6000.0.9f1
Fixed in: 2021.3.2f1, 2022.3.30f1, 6000.0.0b15

Reproducible on: macOS 14.5 Sonoma (Intel), Windows 11 (reported by user)
Not reproducible on: No other environment tested

Notes:
- Removing the “Battle.dll“ in the Assets folder will stop the Editor from crashing

First few lines of stack trace:
0x00007FFD6DB6543C (KERNELBASE) RaiseException
0x00007FFC886B0C1C (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\utils\mono-log-common.c:143] mono_log_write_logfile
0x00007FFC8869C822 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\eglib\goutput.c:172] monoeg_g_logv_nofree
0x00007FFC8869C8FC (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\eglib\goutput.c:217] monoeg_assertion_message
0x00007FFC887946CB (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\loader.c:346] mono_field_from_token

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.