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 MoonSilver · Feb 27, 2014 at 09:43 PM · librarylibraries

Can I use any C# libraries in Unity?

Hi all!

I wondering about if I can use any C# libraries, like network library or json.NET library for example, and will they work on Android/iOS?

Thank you!

Comment
Add comment
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

2 Replies

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

Answer by stevethorne · Feb 27, 2014 at 09:55 PM

There are sometimes issues with dlls due to the fact that Unity does not use the latest .NET framework.

I know that I personally have had issues with json.NET library on iOS due to AOT Cross Compile problems.

If you're interested in using json.NET with Unity there is a version on the Asset Store that works great!

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 huntsfromshadow · Feb 27, 2014 at 09:56 PM

C# Libraries should work fine in Windows and Mac mode, but you may need to switch the player to .NET full mode.

As for Android and iOS I have a feeling it more depends on what exact libraries are you using and what parts of the .NET framework they are using.

I'd suggest dropping them in and seeing what happens.

Comment
Add comment · Show 4 · 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 MoonSilver · Mar 02, 2014 at 09:22 AM 0
Share

Thank you!

avatar image MattLebrao · Apr 27, 2018 at 07:35 PM 0
Share

How would one switch the player to .NET full mode? I don't see it in player settings.

avatar image Bunny83 MattLebrao · Apr 27, 2018 at 08:56 PM 1
Share

Uhm just in the player settings in the category "other settings" in the section "Configuration"


Just in case you still don't see it, it's the third from the top: "API Compatibility Level"

avatar image MattLebrao Bunny83 · Apr 28, 2018 at 09:40 AM 0
Share

Ah thank you. I was so concentrated in finding something like "full mode" (something in this sense) that that option completely escaped from my eyes.

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

24 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

Related Questions

Visual Studio - Missing "GameAssembly.lib" 1 Answer

There is a way to import an ODE solver library and use it? 0 Answers

how can i know about the libraries of c# in unity 1 Answer

Implement M2MQTT for Unity 2 Answers

Problem iOS compile -library not found? 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