My understanding is that Unity has a source code license on a old version of Mono and they are even moving to IL2CPP where C# code is converted to C++ code and then compiled to native code.
But they have not implemented a Game Engine GC or Manual GC. A Game Engine GC would use the available wait time within a frame to work. A manual GC would only be allowed to run when the programmer allows it or tells it to run.
These would only have needed an API and control code around the existing GC.
But ideally by now they could have ripped out the old GC and replaced it with a leaner more modern real time GC system ideally with Manual and Game Engine VSync features.
Replacing or writing a GC is a highly technical issue and you would need to bring in top tier talent to get it right but it would probably pay for itself in the drop in bug reports.
I don’t know a lot about garbage collectors, but if it’s that complex to upgrade then I’d guess Unity are waiting until they upgrade Mono to implement a new GC. Otherwise they’d spend a lot of time upgrading it now, only to have to redo the work when they update Mono.
Locked it. I think it’s time to cut down now @Arowx , give unity a chance to recover from all your other request posts.
You know full well Unity has a roadmap and plan for upgrading mono, and so on, this utterly pointless. Probably will lock further threads on this subject for a while, lets wait at least til 5.5 and post GDC.