Search Issue Tracker
Fixed in 2022.2.X
Fixed in 2021.3.X, 2022.1.X
Votes
0
Found in
2021.3
2021.3.2f1
2022.1
2022.2
Issue ID
1427170
Regression
No
IL2CPP exception when using function pointer with generic parameter from type and method
Reproduction steps:
1. Open the attached project
2. Go to File > Build Settings
3. Press Build in the Build Settings window
Expected result: Project is built successfully
Actual result: IL2CPP exception is thrown
Reproducible with: 2021.3.3f1, 2022.1.1f1, 2022.2.0a13
Could not test with: 2019.4.39f1, 2020.3.34f1 (Feature 'function pointers' is not available in C# 8.0. Please use language version <version> or greater)
Reproduced with: macOS 12.4 (M1 Max)
Note:
-does not reproduce with Mono Scripting Backend
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
- Wrong shader appears when Particle System is added as a component
- Realtime Hard Shadows resolution of Spot Light and Point Light cannot be changed by script when using Universal Render Pipeline (URP)
- Warnings in the Package manager have no margin on the right side
- Errors are thrown in the Console and the Game view fails to render when RenderGraph Compatability is disabled and a Camera stack has a Pixel Perfect Camera Component with "Stretch Fill" Crop Frame
- [Linux] Crash on System.Runtime.InteropServices.Marshal:copy_from_unmanaged_fixed when accessing shared memory
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.0b2
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.0b2
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.8f1
Resolution Note (fix version 2021.3):
Fixed in: 2021.3.7f1