Search Unity

Unity 4 and Mono 2.6?

Discussion in 'Editor & General Support' started by CHPedersen, Sep 11, 2012.

  1. CHPedersen

    CHPedersen

    Joined:
    Mar 2, 2011
    Posts:
    63
    Dear Unity,

    I read today on this website, that you intend to ship Unity 4 with Mono 2.6. This makes me curious, because I think that's a really bad idea. ;-) Can you provide an explanation on why you're aiming for 2.6, when 2.8 includes the entirity of C# 4.0 and more importantly, a new and improved garbage collector?

    (See http://www.mono-project.com/Release_Notes_Mono_2.8 for more information)

    There are quite a few of us out here who're dying to get a garbage collector that is not only generational, but compacts the heap properly after cleanup, so we can get rid of the memory issues that arise when allocation heap becomes fragmented over time. The garbage collector prior to 2.8 has been bothering me for well over a year. :( I thought you were going to upgrade to Mono 2.8 with the next major release of Unity, and was really looking forward to this. I guess my question is two-fold:

    Is it a stability thing? That is, are you waiting for Mono to declare 2.8 a stable release?

    If Mono 2.8 reaches total stability before you start thinking about Unity 5, can we expect a Mono upgrade before the next major release of Unity?
     
  2. Dreamora

    Dreamora

    Joined:
    Apr 5, 2008
    Posts:
    26,601
    Mono is already on 2.10 actually.

    The reason is more that Unity has a custom mono version and needs to port their fixes and changes over without breaking too much (as mono 2.6 to mono 2.10 is codebase wise a breaking update due to the GC and memory changes).

    They have been experimenting with mono 2.10 for quite a while already (there is a bleeding edge framework in the install), though I don't think that any platform that really runs mono is using it at the time (potentially editor and flash target are using it, but none of the others)

    At Unite the topic came up as well and from what I got the idea is to get the Mono 2.10 upgrade into the 4.x cycle, just not 4.0.

    If we are lucky another reason for the delay is that they upgrade monodevelop to the proper version (unitys modified MD 2.8 is several broken and shows bugs the original version didn't have since 2.4 anymore. Especially intellisense is broken to a degree thats worrysome) and enhance other forms of interaction between native and managed.
    Thats are at least my hopes :)
     
    Last edited: Sep 11, 2012
  3. CHPedersen

    CHPedersen

    Joined:
    Mar 2, 2011
    Posts:
    63
    Thanks a lot for the reply, and for the report directly from Unite. :)

    That's really comforting to know! That they intend to upgrade it sometime during the 4.x cycle, that is. That's okay by me, I was just getting a little disheartened with the prospect of waiting another full release cycle.

    I'm not that worried about mono develop, since I use Visual Studio and consider that a wildly superior editor in all respects, especially since the advent of http://unityvs.com/ which seems to be able to attach the Unity process to Visual Studio's debugger.
     
  4. Foam

    Foam

    Joined:
    Jun 13, 2012
    Posts:
    322
    I don't follow what this means. Could anyone help clarify this (regarding "there is a bleeding edge framework in the install").

    I hate to necro bump this but there aren't many discussions about this that I can find.
     
  5. Bongadoo

    Bongadoo

    Joined:
    May 14, 2013
    Posts:
    1
    There is a lot of extra stuff in the bleeding edge lib (Unity\Editor\Data\MonoBleedingEdge\lib\mono\4.0).

    No System.Collections.Concurrent though, or System.Threading.Tasks :mad:
     
  6. david.gavilan

    david.gavilan

    Joined:
    Mar 22, 2013
    Posts:
    3
    At Unity Japan 2013 I heard that because of licensing problems, they do not plan to update mono in the 4.x cycle... So basically we need to find workarounds for all those mono bugs by ourselves and survive with Boehm GC...

    v_v
     
  7. Metron

    Metron

    Joined:
    Aug 24, 2009
    Posts:
    1,137
    Seriously?!?
     
  8. TehWardy

    TehWardy

    Joined:
    Mar 20, 2013
    Posts:
    38
    Um yeh ... double up on that seriously !!!

    WTF ... the whole point in mono is that its open source surely that means licensing is the least of their worries?
    I hate it when really cool products are bottle necked over crap like politics!!

    I too want to see features like concurrent collections, tasks, proper GC, but also EF so I can code up my servers with a bit of ease.

    This sucks !!! :confused:
     
  9. jasonMcintosh

    jasonMcintosh

    Joined:
    Jul 4, 2012
    Posts:
    74
    Could someone technical from Unity please confirm/deny this? I'm sure a lot of folks would like to know for certain.
     
  10. liszto

    liszto

    Joined:
    Dec 22, 2011
    Posts:
    135
    I talk a few days ago with someone from Unity and yes the licensing problem is true for garbage collector and Mono license >_<
     
  11. cjow

    cjow

    Joined:
    Feb 29, 2012
    Posts:
    132
    Well in 4.2 on Mac I have 2.10 installed but on Windows I only have 2.6.5 both on fresh Unity installs.
     
  12. jasonMcintosh

    jasonMcintosh

    Joined:
    Jul 4, 2012
    Posts:
    74
    I came across this thread, which answers some Mono questions. Apparently, it's less about licensing and more about lack of benefits vs consequences of breaking backwards compatibility.