Unity .net framework 4.5

Hi all! I have some questions here:

  1. Why unity uses outdated mono-2.x scripting backend, Currently mono 4.2 is out, why unity not using it?

  2. Why I can’t just choose libraries like .net framework 4.5??

  3. Current my code requires at least .net framework 4.0, so in unity it has many errors. There’s any way to solve this?? without converting my code to .net framework 2.0

  1. They can’t just update it, there is a lot of work that needs to be done on the back end before that happens, like their IL2CPP system. If I recall, they use a custom version of mono-2.x as well, to maintain platform compatibility.
  2. There are many features that just aren’t compatible due to the outdated compiler and the fact that it has around .Net 2.0/3.5 compatibility. Read more here: The future of scripting in Unity | Unity Blog
  3. Not that I know of. If you’re willing to wait a couple years, then it’ll be solved. If you aren’t, start converting.