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
- Foldout arrow indent is misaligned in the Inspector when used in Custom Type
- [Android] The Player screen turns black when playing a video under certain conditions
- Search window icons at the bottom are cut off when Search window is resized vertically
- "Try something else?" text label is cut off when searching for a long text in the Search window
- Rendering Debugger window sections do not have a minimum width set when resizing with the slider in the middle of the window
Add comment