Search Issue Tracker
Fixed in 2021.2.X
Votes
0
Found in
2021.2
2021.2.0a11
Issue ID
1326082
Regression
No
Adding a Serialized C# 9 function pointer to a script will silently crash the Editor
How to reproduce:
1. Open the attached project
2. Uncomment the public delegate*<int, bool> functionPointer in Test.cs
3. Save the Script
Expected result: Unity does not crash
Actual result: Unity crashes
Reproducible with: 2021.2.0a11
Could not test with: 2018.4.33f1, 2019.4.23f1, 2020.3.2f1, 2021.1.2f1 (C# 9 is not supported)
Comments (1)
-
Peter77
May 07, 2021 04:45
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
- Specular lighting visible in a camera with Path Tracing when Preserve specular lighting is disabled in observed material
- Cinemachine package throws CS1061 errors in the Console when installed in a project that has HDRP and URP installed
- Editor.log file size grows rapidly when a scene exceeds the "Maximum Shadow on Screen" limit setting in the HDRP Asset
- Player build freezes after calling Application.Quit() when the scripting backend is set to IL2CPP
- Texture is not applied on a Custom Render Texture when a Cubemap is selected as the texture
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.0a18