Error when building to Unity IOS Basic.

Hi, I have just came across this error.

Error building Player: SystemException: System.Net.Sockets are supported only on Unity iPhone Advanced. Referenced from assembly ‘Photon3Unity3D’.

I Built my game to my iphone and everything was working fine, I went back to my game scene and moved a cube, after i went to build to my iphone again and the error message came up and i cant seem to get rid of it as i dont know were it has come from.

Please help.

Many thanks.

Seems you are using photon which uses .NET sockets. Should work fine in Unity basic however, there is no socket support in iOS basic and Android basic. So if you want to use photon on iOS you need iOS pro.

http://forum.unity3d.com/threads/122846-Using-Photon-in-a-basic-version-of-Unity-iOS-Android

That was it thank you. Still not sure how it got onto my project as I didnt install it but hey it’s fix.