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 2021.2.0a19 Mono Upgrade

Discussion in '2021.2 Beta' started by tbg10101_, Jun 4, 2021.

Thread Status:
Not open for further replies.
  1. tbg10101_

    tbg10101_

    Joined:
    Mar 13, 2011
    Posts:
    192
    The latest patch notes show a mono upgrade:
    Code (text):
    1. Mono: Upgraded to a recent version of Mono (~6.12) which brings many bug fixes from upstream Mono project.
    May we know the previous version so we can look up what changes happened to Mono since the previous version? It would be helpful to have this "from X to Y" information in all patch notes.
     
    NotaNaN likes this.
  2. SugoiDev

    SugoiDev

    Joined:
    Mar 27, 2013
    Posts:
    395
    If the output of those is correct, we went from 5.11.0 to 6.13.0

    C:\Program Files\Unity\Hub\Editor\2021.2.0a17\Editor\Data\MonoBleedingEdge\bin>mono --version
    Mono JIT compiler version 5.11.0 (Visual Studio built mono)
    Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
    TLS: normal
    SIGSEGV: normal
    Notification: Thread + polling
    Architecture: x86
    Disabled: none
    Misc: softdebug
    Interpreter: yes
    LLVM: supported, not enabled.
    GC: sgen (concurrent by default)


    C:\Program Files\Unity\Hub\Editor\2021.2.0a19\Editor\Data\MonoBleedingEdge\bin>mono --version
    Mono JIT compiler version 6.13.0 (Visual Studio built mono)
    Copyright (C) Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
    TLS: __thread
    SIGSEGV: normal
    Notification: Thread + polling
    Architecture: x86
    Disabled: none
    Misc: softdebug
    Interpreter: yes
    Suspend: preemptive
    GC: sgen (concurrent by default)
     
    Lahcene, NotaNaN, Peter77 and 2 others like this.
  3. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,618
    What are the best things the upgrade brings to the table?
     
    NotaNaN likes this.
  4. runner78

    runner78

    Joined:
    Mar 14, 2015
    Posts:
    792
    .Net Standard 2.1, full C# 9 Support (not active yet) and so far i know Mono not longer convert floats to double..
     
    jasonboukheir, Peter77 and NotaNaN like this.
  5. creat327

    creat327

    Joined:
    Mar 19, 2009
    Posts:
    1,756
    That's the compiler version, not the mono version. 6.13 is not even released for Mono. The latest is 6.12
     
  6. runner78

    runner78

    Joined:
    Mar 14, 2015
    Posts:
    792
    "Mono JIT compiler" So its the runtime. As C# Compiler Unity use Roslyn. And since 2019.3 Unity contain only one Mono version.
     
  7. FernandoMK

    FernandoMK

    Joined:
    Feb 21, 2017
    Posts:
    178
    Unity has always used a bifurcated version of mono, the last information I found was in this topic:

    "We are currently using a branch based off Mono 4.8."
    https://forum.unity.com/threads/future-plans-for-the-mono-runtime-upgrade.464327/#post-3018676

    Mono: 4.8.0.495 - Initial stable release (22 Feb 2017)
    https://www.mono-project.com/docs/about-mono/releases/4.8.0


    This may not be the most recent version they were using, but in order to be recorded in the changelog, there has definitely been a big change to Unity's internal API.:eek:

    Anyway, this indicates cool things coming:D
    (NET 5 or 6 support)
     
  8. runner78

    runner78

    Joined:
    Mar 14, 2015
    Posts:
    792
  9. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,136
    Please use this thread to discuss this topic.
     
    FernandoMK likes this.
Thread Status:
Not open for further replies.