Search Issue Tracker
Fixed in 2022.1.X
Votes
0
Found in
2021.2
2021.2.0b7
2022.1
Issue ID
1357908
Regression
No
IL2CPP Player crashes when calling a C# 9.0 function pointer
Reproduction steps:
1. Open the attached "FunctionPtrRepro.zip" project
2. Go to Player Settings (File > Build Settings > Player Settings)
3. In the Player tab, change Scripting Backend to IL2CPP (Other Settings > Configuration > Scripting Backend)
4. In the Build Settings, click Build and Run (File > Build Settings)
5. Wait until the built Player is run
Expected result: The Player does not crash
Actual result: The Player crashes
Reproducible with: 2021.2.0b8, 2022.1.0a5
Could not test with: 2019.4.29f1, 2020.3.17f1, 2021.1.18f1 (C# 9.0 not supported), 2021.2.0b6 (case 1356723)
Note:
- Not reproducible with Mono Scripting Backend or in Play Mode
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Popup windows spawn on the incorrect monitor when the Editor is placed near the boundary of scaled monitor next to a monitor with different scaling
- Hidden Tabs do not shift into empty space after closing visible Tabs
- [Android] Application not deployed on a device when "activity-alias" is used in the AndroidManifest
- Shader compile process adds shader ID to the constant buffer name when the word "Globals" is being used in Vulkan
- Audio Mixer Snapshot link to the documentation isn’t working
Add comment