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
- Redoing creation of Sub Scenes and Cube GameObjects in Hierarchy throws “Assertion failed on expression: 'targetScene != nullptr’” error in Console window
- Selecting “New Sub Scene” after assigning “New Scene” in Sub Scene Script Component throws “Destroying GameObjects immediately is not permitted” in the Console window
- Shader Graph "Zoom Step Size" can be set to 0 even though the zoom still works
- Enabling/Disabling the Deprecated Nodes doesn't apply to the opened Shader Graph unless any Variable is added to the Blackboard
- Group Selection title text size is smaller in renaming than the actual font size
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