Remix.run Logo
Deukhoofd 3 hours ago

Thankfully they are actively working towards upgrading, Unity 6.8 (they're currently on 6.4) is supposed to move fully towards CoreCLR, and removing Mono. We'll then finally be able to move to C# 14 (from C# 9, which came out in 2020), as well as use newer .NET functionality.

https://discussions.unity.com/t/coreclr-scripting-and-ecs-st...

pjmlp 2 hours ago | parent | next [-]

For several years now, I wonder if it will ever happen.

Deukhoofd 2 hours ago | parent [-]

Well, this is at least an update from earlier this month with a clear roadmap of how they're going to get there. There's hope!

Rohansi 3 hours ago | parent | prev [-]

One annoying piece of Unity's CoreCLR plan is there is no plan to upgrade IL2CPP (Unity's AOT compiler) to use a better garbage collector. It will continue to use Boehm GC, which is so much worse for games.

pjc50 2 hours ago | parent [-]

Why wouldn't they use the GC that comes with the dotnet AOT runtime?

pjmlp 2 hours ago | parent [-]

Probably because the AOT runtime doesn't run on game consoles, straight out of the box.

Capcom has their own fork of .NET for the Playstation, for example.

I don't know what kind of GC they implemented.