Search Issue Tracker

Fixed

Fixed in 2021.3.23f1, 2022.2.14f1, 2023.1.0b12, 2023.2.0a9

Votes

1

Found in

2021.3.18f1

2022.2.8f1

2023.1.0b5

2023.2.0a4

Issue ID

UUM-27888

Regression

No

Crash on "condition `!sig->is_inflated && !sig->has_type_parameters' not met" when a function pointer is used in a generic method

--

-

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

  1. Resolution Note (fix version 2023.2.0a9):

    We have removed the assert in the Unity fork of Mono.
    https://github.com/Unity-Technologies/mono/pull/1736

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.