Unity Issue Tracker - Crash on "condition `!sig->is_inflated && !sig->has_type_parameters' not met" when a function pointer is used in a generic method
Fixed
UUM-27888
Crash on "condition `!sig->is_inflated && !sig->has_type_parameters' not met" when a function pointer is used in a generic method
Unity: Mono
Fixed
2023.2.X
2023.1.X
2022.2.X
2021.3.X
We have removed the assert in the Unity fork of Mono.
https://github.com/Unity-Technologies/mono/pull/1736
Reproduction steps:
1. Open the attached project "repro_fnptr_generic_2023_1b"
2. Enter Play mode
3. Observe crash
Reproducible on: 2021.3.18f1, 2022.2.8f1, 2023.1.0b5, 2023.2.0a4
Couldn't test with: 2020.3.45f1 (Script compilation errors)
Reproducible on: macOS 12.4 (Intel), Windows 11 (user's)
Note: will not crash if "Use Generic" on "GameObject" is disabled
Prioritise and Follow this issue
Have a workaround or additional info about this issue?