- Home /
Is it possible to upgrade the included version of Mono manually?
I know that Unity 3 is now running Mono 2.6, and that's wonderful -- it's such a huge performance and functionality increase from the older versions of Unity. However, the garbage collector still leaves something to be desired -- it's slower than that of .NET, and it's tending to run a bit more frequently than it should in my tests with our porting of AI War (from .NET 2.0), leading to periodic lag that shouldn't be there if it was working properly.
Mono 2.8 is the latest and greatest bleeding-edge version of Mono, and just check out those specs on the new garbage collector that they optionally include! This particular game of mine is particularly performance-intensive, and only targets the Mac and PC, so... is there a way for me to make Unity generate Standalone builds (and run in the unity editor) with Mono 2.8? For my other projects, probably it's preferred to stay on 2.6, but it would be really nice to be able to swap in Mono versions at will, with command line options for things such as using the incredible new garbage collector, etc.
Having a garbage collector that is so much lower-load and faster could only be a good thing for all Unity games, though.
Answer by jashan · Oct 08, 2010 at 05:40 AM
As Mono is tightly integrated with Unity, this is unfortunately not possible. You'll have to wait until UT updates Mono in Unity. If we're lucky, we won't have to wait until Unity 4 for that - but until now, Mono only was updated with major Unity releases (one reason being to not break compatibility with minor releases).
Well... nuts. But, I suppose that's to be expected to some extent.
What exact version is it on now (3.3 that is)? I'm told to fix the problem I'm having with serial ports, I need 2.6.7
Your answer
![](https://koobas.hobune.stream/wayback/20220613075102im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Replace Microsoft dll's with Mono dll's in Visual Studio? 5 Answers
RichTextBox for Unity 0 Answers
Why is FtpWebRequest not allowed in webplayer builds 1 Answer
AOT Runtime Problem: Variable of type IMyInterface changes type to String(impossible..??) 0 Answers
How might I check integrity of C# assembly or prevent substitution? 1 Answer