Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
11
Question by Domino-Studios · Mar 14, 2015 at 05:14 PM · unity 5mono.net

What is the version of .net in Unity 5?

I have just read this "old" blog http://blogs.unity3d.com/2014/05/20/the-future-of-scripting-in-unity/ telling us that the .net version will be updated. So is Unity 5 uses a .net 4+ version?

Comment
Add comment · Show 3
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Domino-Studios · Mar 31, 2015 at 08:47 PM 0
Share

236 views and no answer ?

avatar image DoTA_KAMIKADzE · Mar 31, 2015 at 08:55 PM 0
Share

No it is still mostly 3.5 but partially 2.

avatar image MakakWasTaken · Mar 31, 2015 at 09:03 PM 0
Share

No it is still using .NET 2.0/3.5, but it will be updated in the future

References:

  • http://forum.unity3d.com/threads/net-upgraded.263416/#post-1742211

  • http://www.reddit.com/r/Unity3D/comments/2e4q6c/unity_upgrading_to_c_5_and_net_45/

4 Replies

· Add your reply
  • Sort: 
avatar image
5

Answer by MakakWasTaken · Mar 31, 2015 at 10:31 PM

You can run this to check the version

 Debug.Log(System.Enviroment.Version);
Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image kingandroid · Feb 23, 2016 at 01:19 AM 3
Share

There is a typo in there Debug.Log(System.Environment.Version);

avatar image
2

Answer by MMOERPG · Jun 15, 2016 at 08:54 PM

Im using 5.3.4f1 and it is .Net 2.0.50727.1433

according to Debug.Log(System.Environment.Version);

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
1

Answer by NoEnd · Mar 31, 2015 at 10:29 PM

I'm using 5.0.0f4 and it is still .Net 2.0

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
1

Answer by douglasg14b · Mar 31, 2015 at 10:37 PM

You can use some reflection to find out:

         using System.Reflection;

         Type type = Type.GetType("Mono.Runtime");
         if (type != null)
         {
             MethodInfo displayName = type.GetMethod("GetDisplayName", BindingFlags.NonPublic | BindingFlags.Static);
             if (displayName != null)
                 Debug.Log(displayName.Invoke(null, null));
         }

It prints out: alt text

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Ryuuguu · Aug 06, 2015 at 12:37 AM 0
Share

5.1.1f1 prints 2.6.5 (tarball)

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

28 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Unity 5.5 API Compatibility 1 Answer

Unity 5 - Current .NET version and futur 0 Answers

How do I use .NET as a Scripting Backend on PC, Mac & Linux Standalone? 0 Answers

how to reference a .NET 4 targeted, native code wrapper assembly in Unity (beta)? 0 Answers

,Can I get runtime data of unity without needing source code? 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges