playMaker

Author Topic: [SOLVED] Exception: 'System.Net.Sockets' only with Unity Android Pro.  (Read 18424 times)

AyaTou

  • Playmaker Newbie
  • *
  • Posts: 3
When I try to build for Android I get the message:
Error building Player: SystemException: 'System.Net.Sockets' are supported only with Unity Android Pro. Referenced from assembly 'Photon3Unity3D'.
I only have a basic license for Android, and I'm not using Photon3Unity3D or any network related components, only PlayMaker (version 1.5.3.f1).
« Last Edit: April 16, 2013, 01:20:27 AM by jeanfabre »

AyaTou

  • Playmaker Newbie
  • *
  • Posts: 3
I deleted the "Phonton Networking" folder that came with PlayMaker.
That solved it.

zekit

  • Playmaker Newbie
  • *
  • Posts: 1
hi, I'm also getting the same error, deleting that folder didn't help.
Any ideas?

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
When you say the same error, do you mean:
Error building Player: SystemException: 'System.Net.Sockets' are supported only with Unity Android Pro. Referenced from assembly 'Photon3Unity3D'.

That means you still have Photon in your project.

Or is the error different?

jonazdk

  • Playmaker Newbie
  • *
  • Posts: 2
Re: [SOLVED] Exception: 'System.Net.Sockets' only with Unity Android Pro.
« Reply #4 on: August 01, 2013, 04:35:43 AM »
I have the same problem.
When I delete the Photon folder I get this when I build a project.

Error building Player: SystemException: 'System.Net.Sockets' are supported only with Unity Android Pro. Referenced from assembly 'Photon3Unity3D'.

Whenever I restart Unity or Build for Android the file "Photon3Unity3D.dll" Is recreated in the project even after deleting it. Thus blocking the build process.

I run Unity 4.1.5f1 on Win7. PlayMaker 1.6.3.

hope you can help.
cheers! :)
« Last Edit: August 01, 2013, 04:48:43 AM by jonazdk »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: [SOLVED] Exception: 'System.Net.Sockets' only with Unity Android Pro.
« Reply #5 on: August 02, 2013, 09:42:37 AM »
Hi,

 a deleted asset is never recreated in Unity, else this is huge bug and you should report it to Unity.

 Are you using a repository like svn, git or mercurial?

Do you have the "photon Unity Networking" in your assets folder? if you don't and you compile do you have this error again?

bye,

 Jean

jonazdk

  • Playmaker Newbie
  • *
  • Posts: 2
Re: [SOLVED] Exception: 'System.Net.Sockets' only with Unity Android Pro.
« Reply #6 on: August 02, 2013, 11:39:07 AM »
I did a update to Unity 4.2 and JDK 7.

Things are working now! yay!

The Photon stuff is no longer being regenerated.
Thanks for your time regardless.

Not using GIT on this test. I was just browsing the PlayMaker examples.