https://discussions.unity.com/t/coreclr-scripting-and-ecs-st...
Capcom has their own fork of .NET for the Playstation, for example.
I don't know what kind of GC they implemented.
They will not be using .NET AOT probably ever though. Unity's AOT basically supports full C# (reflection etc) while .NET opted to restrict it and lean more on generated code.
Edit: Nevermind, they eventually bothered.
[1] https://docs.unity3d.com/6000.3/Documentation/ScriptReferenc...
Is that a hack? Is that not just exactly what IEnumerable and IEnumerator were built to do?
Really you're generating the vague concept of a yield instruction but you can return other coroutines that are implicitly run and nest your execution... Because of this you can't wait less than a frame so things are often needlessly complicated and slow.
It's like using a key to jam a door shut. Sure a key is for keeping doors closed but...