playMaker

Author Topic: I can not build unity3d project to Xcode [SOLVED]  (Read 8679 times)

secludez

  • Playmaker Newbie
  • *
  • Posts: 2
I can not build unity3d project to Xcode [SOLVED]
« on: August 28, 2013, 02:05:25 PM »
first I don't use the playmaker plugin ,I can build to Xcode success but If I use playmaker ,project can not build to Xcode .


Error building Player: SystemException: System.Net.Sockets are supported only on Unity iOS Pro. Referenced from assembly 'Assembly-CSharp'.


Thank you
« Last Edit: August 28, 2013, 03:15:54 PM by Alex Chouls »

secludez

  • Playmaker Newbie
  • *
  • Posts: 2
Re: I can not build unity3d project to Xcode
« Reply #1 on: August 28, 2013, 02:51:05 PM »
I can solved a problem by delete the Photon Networking folder

Khoa1994

  • Playmaker Newbie
  • *
  • Posts: 33
Re: I can not build unity3d project to Xcode [SOLVED]
« Reply #2 on: August 03, 2014, 11:29:13 AM »
After deleting the "Photon Unity Networking" folder, I still get the error "Error building Player: SystemException: System.Net.Sockets are supported only on Unity iOS Pro. Referenced from assembly 'Assembly-CSharp'." when I build my game for iOS. Please help me fix this.

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4000
  • Official Playmaker Support
    • LinkedIn
Re: I can not build unity3d project to Xcode [SOLVED]
« Reply #3 on: August 03, 2014, 12:14:11 PM »
Can you paste the full error. It should tell you the script that's using System.Net.Sockets.

Khoa1994

  • Playmaker Newbie
  • *
  • Posts: 33
Re: I can not build unity3d project to Xcode [SOLVED]
« Reply #4 on: August 03, 2014, 01:25:59 PM »
"Error building Player: SystemException: System.Net.Sockets are supported only on Unity iOS Pro. Referenced from assembly 'Assembly-CSharp'." is the full message error.

The attached image shows the error.

Khoa1994

  • Playmaker Newbie
  • *
  • Posts: 33
Re: I can not build unity3d project to Xcode [SOLVED]
« Reply #5 on: August 03, 2014, 01:27:43 PM »
This attached image shows that I deleted the "Photon Unity Networking" folder. That folder doesn't exist in my project view.

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4000
  • Official Playmaker Support
    • LinkedIn
Re: I can not build unity3d project to Xcode [SOLVED]
« Reply #6 on: August 03, 2014, 02:42:02 PM »
Sorry, I meant open Main Menu > Window > Console, select the exception and copy/paste the full log text into this thread.

Khoa1994

  • Playmaker Newbie
  • *
  • Posts: 33
Re: I can not build unity3d project to Xcode [SOLVED]
« Reply #7 on: August 03, 2014, 03:01:34 PM »
I show you the console and the full text error in my first image. What do you mean by "select the exception and copy/paste the full log text"?
The attached image is all the warnings and error I get when trying to build my project for iOS. My game runs fine when entering Play mode in Unity.

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4000
  • Official Playmaker Support
    • LinkedIn
Re: I can not build unity3d project to Xcode [SOLVED]
« Reply #8 on: August 03, 2014, 03:11:12 PM »
Sorry, didn't see that you replied twice, only saw your "deleted photon" screenshot. Looking into it now...

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4000
  • Official Playmaker Support
    • LinkedIn
Re: I can not build unity3d project to Xcode [SOLVED]
« Reply #9 on: August 03, 2014, 03:19:31 PM »
Something in your project is calling System.Net.Sockets. It's unfortunate that Unity won't tell you where to look!

I don't think it's built in Playmaker actions. You could delete PlayMaker/Actions/Network to double check.

But it's probably a custom action or third party library. Are you using any third party scripts that call networking code? You could try Monodevelop "Search in files" to look for System.Net.Sockets...

Khoa1994

  • Playmaker Newbie
  • *
  • Posts: 33
Re: I can not build unity3d project to Xcode [SOLVED]
« Reply #10 on: August 03, 2014, 04:10:46 PM »
I used MonoDevelop "Find in Files" to look for "System.Net.Sockets". I found a file name "RemoteConnection.cs" that contains "System.Net.Sockets". I deleted that file and I can build my game now.
Thanks for the help.