C#9 Function Pointers crash unity on compilation.

(Case 1334152)

Heya, there’s a pretty major bug with C#9 function pointers right now. Unity immediately crashes and will crash-on-boot until the offending class is deleted. It’s simple to reproduce:

        public class CrashyMcCrasherson
        {
            private unsafe delegate*<int> mooses;
        }

Unsure if these are even supposed to be supported or not, but the compiler very much does not like the use of them right now.

Cheers.

Hello ! It has been repported already => Alpha 0.11 function pointers: Editor closes with no bug report window :slight_smile:

Seems to be the case! Glad I’m not the only one excited about this feature

I am SOOOO excited about that !