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)
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
- [OpenGLES][XR] Zooming in on the camera's URP opaque texture causes "double vision" on Quest in OpenGLES3
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.0a18