- Home /
Advantages of .NET framework 4.6 upgrade?
What do you guys think would be the advantages of upgrading the framework, what all libraries, frameworks could we use potentially in the Game dev environment.
The Obvious one is more languages we can program in. In addition I am sure we would be able to create better networking scripts.
I've not seen any suggestions that upgrading the $$anonymous$$ono framework will support more languages. Can you give examples of "better networking" classes that are not available to previous $$anonymous$$ono versions?
Answer by dpoly · Jul 07, 2017 at 02:29 AM
That's a strange question, given that Unity actually uses Mono.
Basically, everything that's happened in the last 10 years. Unity is effectively limited to 3.5 compatibility, which was released in 2007 and end of life in 2011. Since then there have been multiple improvements in C#, many new useful classes, the CLR 4, six releases of Visual Studio, Windows 8 and 10, etc, etc.
Way overdue in my opinion.
This doesn't actually answer the question: of course you can already use the latest version of Windows and Visual Studio to develop for Unity. What, specifically, are the "multiple improvements and many new useful classes" that you've been denied through being restricted to using an old version of $$anonymous$$ono?
... given that Unity actually uses mono, would be why the question is relevant and not strange?
Yes, of course I'm using VS 2013/2016,that's how I know about all the stuff that's missing. I'm not proposing to generate a comprehensive list, but I know I spent about a day stripping out working code and replacing it by 3.5 constructs just for Unity. Examples that come to $$anonymous$$d are: Tuple, String.Join(IEnumerable), named parameters, string interpolation, property initialisers, dictionary initialisers, null propagation, etc. It's a real pain to keep parts of my code base '3.5 clean' for no useful purpose other than antique compatibility.
I don't know if my choice of words are not right, I understand that upgrading to latest version is useful, but I am more specifically interested in what are the benefits? For example, we can't use bitmap as System.Drawing cannot be used directly without work around,
One good example is Task Parallel Library (TPL) and I am definitely excited to use it, so on a similar line I am more interested in what other libraries are feature I can get access to that is used in game dev?
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Setting App Compatibility level to 4.6, not 4.x 0 Answers
[HELP] Upgrading Unity created weird errors 0 Answers
Open With... a Build Unity program 3 Answers