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
- Unused Particle System Renderer Mesh settings cause performance degradation when calling SetActive
- Project Browser shows the Asset folder empty when Select Dependencies is clicked without any asset selected
- Export as JSON and CSV options missing from the Quick Search save feature
- Crash on IMGUI::GUIWindow::OnGUI when rendering scene view window in play mode in a specific project
- "FileNotFoundException" & "IOException" thrown when adding "User" Index after deleting "Assets" Index in Search Index Manager window
Add comment