Search Issue Tracker
Fixed in 2021.3.23f1
Fixed in 2021.3.X, 2022.2.X, 2023.1.X, 2023.2.X, 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
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
- The sidebar reopens when Unity Hub is started when Unity Hub was closed with the sidebar closed
- Characters are invisible in the TextField when certain Japanese characters are used
- "InvalidOperationException" is thrown when using Prefab > Replace to replace a Canvas GameObject with a Prefab that has an incompatible root Transform type
- Looping AudioSource resumes from the wrong playback position when the app is backgrounded and resumed on iOS Safari
- "AnyState Transition Created" action can be undone when pressing "Auto Generate Animation" on the uGUI GameObjects
Resolution Note (fix version 2023.2):
We have removed the assert in the Unity fork of Mono.
https://github.com/Unity-Technologies/mono/pull/1736