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
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
This is a duplicate of issue #1365974