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 /
This post has been wikified, any user with enough reputation can edit it.
avatar image
1
Question by Kirielson · Apr 21, 2014 at 05:43 AM · monodevelopnet

Unity 4.3 Mono 4.0.1 and the .NET 3.5 to 4.0 Library issue

Hello, I was wondering, while Unity 4.3 uses Monodevelop 4.0.1 (and the subsequent .NET 4 equivalent) why is Unity stuck with the .Net 3.0/3.5 equivalent? I ask because I'm trying to use a library that targets 4.0 but it doesn't work because it says the project is built for 3.5.

If that question isn't clear, is there a way of using 4.0 and then layering with 3.5 calls?

An update: So I have used .NET 4 as the target platform and Unity still is having issues with it.

Comment
Add comment · Show 1
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 drudiverse · Mar 19, 2016 at 03:19 AM 0
Share

i can only see .NET 2.0 in API CO$$anonymous$$PATIBILITY Setting of graphics or player settingts in preferences or whatever.

2 Replies

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by dkely · Apr 23, 2014 at 06:07 PM

You cannot call a library from .net 4 unfortunately. I recently came up against this issue when i wanted to use a large program in a port to Unity. The solution was to run the original program as a service and then have my Unity program call that service to get its results in a serialized form.

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 Kirielson · Apr 23, 2014 at 08:11 PM 0
Share

Okay, that sounds annoying but thanks for the answer.

avatar image
0

Answer by Kirielson · Apr 23, 2014 at 06:25 PM

Okay, I've been working on it but there have been errors trying to make the project 4.0. Anyone have any suggestions on this scenario?

Comment
Add comment · Show 3 · 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 dkely · Apr 24, 2014 at 07:00 AM 0
Share

I am not quite sure what you mean. You are not trying to make your Unity project 4.0 (becasue its not possible) and your other library is already 4.0 which is the problem, right? You are looking to create a middle man program that Unity can access and which can access your 4.0 or higher .net libraries.

avatar image Kirielson · Apr 24, 2014 at 01:31 PM 0
Share

If I can I will, but I'm assu$$anonymous$$g that's not possible.

avatar image dkely · Apr 24, 2014 at 01:45 PM 0
Share

Just to clarify one more time because i feel we are still not on the same page:

1.Unity will not take a library directly (if it targets .net 4.0 or higher). 2.You can access the library through another program you create and then parse the data from Unity to the new program where it will put it through the library and then parse the return value back to unity again.

Here is my question on a similar vein: http://answers.unity3d.com/questions/689003/connect-to-a-c-application-on-the-server.html#comment-693106

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

22 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

Related Questions

Monodevelop Net Framework 4 change error 5 Answers

Unity 4.6.2 Monodevelop Net framework issue 0 Answers

Why does monodevelop sets "pink", nonfunctioning breakpoints ? 1 Answer

Resetting MonoDevelop to default settings... 0 Answers

MonoDevelop doesn't load all source control folders 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