- Home /
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!
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!
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.
How would one switch the player to .NET full mode? I don't see it in player settings.
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"
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
![](https://koobas.hobune.stream/wayback/20220613134937im_/https://answers.unity.com/themes/thub/images/avi.jpg)