Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct here to familiarize yourself with the rules and how to post constructively.

  2. Unity 2022.1 is now available as the latest Tech release.
    Dismiss Notice

Unity .NET Ecosystem Updates

Discussion in '2022.1 Beta' started by JoshPeterson, Sep 9, 2021.

  1. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,004
    Hey Unity Alpha users!

    The 2022.1 release of Unity brings supports new .NET APIs via .NET Standard 2.1. It also includes full support for all C# 8 features. Please respond here with any questions or issue you find.

    Note that these changes have also been back ported to 2021.2.

    You can find a rich discussion thread about Unity's .NET ecosystem plans here: https://forum.unity.com/threads/unity-future-net-development-status.1092205/
     
    cxode, mariandev, SugoiDev and 8 others like this.
  2. xCyborg

    xCyborg

    Joined:
    Oct 4, 2010
    Posts:
    610
    What about C# 9.0 and .NET 5/6 ?
     
  3. Adrian

    Adrian

    Joined:
    Apr 5, 2008
    Posts:
    744
    What about reading the linked thread? The first two posts address your questions.
     
    JoNax97 likes this.
  4. Jes28

    Jes28

    Joined:
    Sep 3, 2012
    Posts:
    872
    That was half year ago and for Unity 2021
    there we talk about possibilities of Unity 2022 so repeat of these 2 posts there but for Unity 2022 will be very welkome
     
  5. TheRobWatling

    TheRobWatling

    Joined:
    Feb 18, 2013
    Posts:
    31
    The thread has been receiving regular updates so it's creation date is not a measure of it's current information.
     
  6. Jes28

    Jes28

    Joined:
    Sep 3, 2012
    Posts:
    872
    But it still about Unity 2021 to the last message and this one about Unity 2022
     
  7. Adrian

    Adrian

    Joined:
    Apr 5, 2008
    Posts:
    744
    Many of the features that publicly landed in 2021.2 started out in the 2022.1 (non-public) alpha, as noted in that thread.

    Also, just a month ago, Josh replied regarding .Net 6:
    Josh's communication regarding the recent .Net updates has ben excellent, so I really don't think it helps to ask him the same questions over and over again.
     
  8. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,004
    Since that thread is more general non-version-specific information about .NET ecosystem updates, I'll continue to post on it when things change.

    For this thread, we're focused on 2022.1 alpha issues. From a feature set perspective, that will be C#8 support and .NET Standard 2.1 support. I don't expect any additional .NET features to ship in 2022.1 alpha releases.

    So right now .NET 6 support looks like 2022.2 or later - I don't have enough information yet to be sure though.
     
    cyriaca, DrViJ, cxode and 10 others like this.
  9. DEEnvironment

    DEEnvironment

    Joined:
    Dec 30, 2018
    Posts:
    312

    did we have any hints when 2022.2 will ship
     
  10. NotaNaN

    NotaNaN

    Joined:
    Dec 14, 2018
    Posts:
    296
    Most likely sometime during the last quarter of 2022. ;)
     
  11. Jes28

    Jes28

    Joined:
    Sep 3, 2012
    Posts:
    872
    And LTS of it somewhere between March-May 2023 :)
     
  12. MasoInar

    MasoInar

    Joined:
    Feb 20, 2014
    Posts:
    123
    But who cares the LTS version anyway, because we have already moved on to 2024.1 alpha ;)
     
    polemical likes this.
  13. Deleted User

    Deleted User

    Guest

    Haha, that's true if you want to get your hands in the latest tech/features/and improvements, but you wanna stick with LTS for more usability/bug fixing/and long term development ;)
     
  14. unityptd

    unityptd

    Joined:
    Nov 11, 2018
    Posts:
    4
    It's pretty funny that whenever you try to use nullables, e.g. myObject?.myValue, Unity says "nope don't do that."
     
  15. Lo-renzo

    Lo-renzo

    Joined:
    Apr 8, 2018
    Posts:
    1,065
    vx4 likes this.
unityunity