Search Issue Tracker

Active

Under Consideration for 2022.3.X, 6000.0.X, 6000.1.X, 6000.2.X

Votes

0

Found in

2022.3.63f1

6000.0.51f1

6000.1.7f1

6000.2.0b6

Issue ID

UUM-109251

Regression

No

Crash on RaiseException when AddGameElement handles a generic type

-

How to reproduce:
1. Open the attached “CrashRepro“ project
2. Open the “Assets/Scenes/Attemp1.unity“ Scene
3. Enter Play Mode

Reproducible with: 2022.3.63f1, 6000.0.51f1,  6000.1.7f1, 6000.2.0b6

Reproducible on: macOS 15.5 Sequoia (Intel), Windows 10 (by user)
Not reproducible on: No other environment tested

Note: Crash stops from reproducing if commenting out “players.Add(fm.AddGameElement(new LaEscobaPlayer($"Player {i}", actionManager, hand, won)));“ in the “LaEscoba” Script

First few lines of the stack trace:
0x00007FF9BB47AF29 (KERNELBASE) RaiseException
0x00007FF91BE4064C (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\utils\mono-log-common.c:143] mono_log_write_logfile
0x00007FF91BE2C4A2 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\eglib\goutput.c:172] monoeg_g_logv_nofree
0x00007FF91BE2C57C (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\eglib\goutput.c:215] monoeg_assertion_message
0x00007FF91BFF5BE3 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\reflection.c:2658] reflection_bind_generic_method_parameters

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.