Search Issue Tracker
Duplicate
Votes
0
Found in
2021.2
2021.2.0a11
Issue ID
1326000
Regression
Yes
Editor crashes when using C# 9.0 version function pointer
Steps to reproduce:
1. Download and open the user's project "Burst.Delegates.zip"
2. Open Packages/Burst.Delegates/CareBoo.Burst.Delegates/"BurstAction.gen.cs"
3. Uncomment "delegate*<void> _ptr;" on line 22 in "BurstAction.gen.cs"
4. Wait for the Editor to reloads the script
Expected result: The Editor reloads the script without crashing but throws the error: "Feature 'function pointers' is not available in C# 8.0. Please use language version 9.0 or greater"
Actual Result: The Editor crashes after reloading the script
Reproducible with: 2021.2.0a11, 2021.2.0a14
Not Reproducible with: 2018.4.34f1, 2019.4.24f1, 2020.3.5f1, 2021.1.4f1, 2021.2.0a10
-
Resolution Note:
Duplicate of 1326082
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
- Rigidbody2D.Slide API does not have the needed configuration when creating a 2D Top-Down character controller
- Opening reference for "Playables"component redirects to a missing page
- Sprite Renderer image is changed when switching Mask Interaction and changing Sprite to a shared Sprite
- An unsigned integer is not compared with an integer correctly in player when using IL2CPP backend
- Graphical artifacts are being rendered in Scenes that are loaded during run-time when GPU Resident Drawer is turned on
This is a duplicate of issue #1326082