Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Feedback IL2CPP: Upgraded IL2CPP to run on (dot)NET 5.

Discussion in '2021.2 Beta' started by Neonlyte, Apr 7, 2021.

  1. Neonlyte

    Neonlyte

    Joined:
    Oct 17, 2013
    Posts:
    516
    What does this change imply? Does this mean that 2021.2 now fully supports .NET 5 runtime beyond the recent compiler upgrades in 2021.1 that enabled some C# 9 language features?
     
  2. MoruganKodi

    MoruganKodi

    Joined:
    Feb 11, 2015
    Posts:
    79
    I dont think the phrase `to run on` implies changes to the .NET5 runtime being supported automagically.
     
  3. billykater

    billykater

    Joined:
    Mar 12, 2011
    Posts:
    329
    Unity has been moving more and more of their internal tooling to new .net versions which is the patchnotes you are seeing here. These are only called from the editor as external processes and won't affect the current runtime used for the game.

    According to the latest info from unity employees posted around the forum we will probably see a mono upgrade first and the upgrade to .net (core) will only happen with .net >= 6 due to the involved effort but it seems they are actively investigating this change now.
     
  4. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,936
    Yes, this means that the il2cpp.exe managed utility will run via .NET 5 now. It does not mean that .NET 5 class library features are available. That latter thing is actively being worked on now, but we don't have an ETA for release yet.
     
    tonialatalo, apkdev, Rennan24 and 5 others like this.