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
- "Objects are trying to be loaded during a domain backup." errors on entering Playmode
- Transform Node does not have outputs when it is created
- Changing the Default Icon does not change the executable's icon when re-building the project
- Texture is stored upside down when using Blit
- [OpenGLES][XR] Zooming in on the camera's URP opaque texture causes "double vision" on Quest in OpenGLES3
Add comment