Search Issue Tracker

Duplicate

Votes

1

Found in

2021.2

2021.2.6f1

2022.1

Issue ID

1388479

Regression

No

Crash on mono_class_alloc0 when trying to access a static interface property using a generic type

Mono

-

Reproduction steps:
1. Open the user's attached project
2. Open "Assets/Scenes/SampleScene" scene
3. Enter Play Mode

Expected result: Console logs messages and doesn't crash
Actual result: Editor crashes

Reproducible with: 2021.2.6f1, 2022.1.0b1
Couldn't test with: 2019.4.33f1, 2020.3.24f1 (errors after downgrading)

First lines of stacktrace:
0x00007ffc928485d4 (mono-2.0-bdwgc) [class.c:1638] mono_class_alloc0
0x00007ffc9285c3e5 (mono-2.0-bdwgc) [class-init.c:3367] mono_class_setup_methods
0x00007ffc92afec4d (mono-2.0-bdwgc) [mini-trampolines.c:620] common_call_trampoline
0x00007ffc92aff978 (mono-2.0-bdwgc) [mini-trampolines.c:779] mono_magic_trampoline
0x00000173658603a6 ((<unknown>))
0x00000173d71d0dbb (Mono JIT Code) [B.cs:17] AB`1<TA_REF>:OnEnable ()
0x00000173d71d0e98 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)

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.