.Net compatibility with MAC OS X build

I used this library in a script for the web part: using UnityEngine; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web; using System.Net; using System.Threading; using System.IO; using System.Collections; using System.Xml;

The game works perfectly well within unity, but in the build for Mac OS X, the portion of the network is down while everything else continues to run. Maybe it is libraries?

Check which API Compatibility Level is chosen in the Player Settings (http://unity3d.com/support/documentation/Components/class-PlayerSettings.html) and then again which methods you are not allowed to use at the compatibility page: http://unity3d.com/support/documentation/ScriptReference/MonoCompatibility.html