compiling Memory Game Demo to IOS
Hello
I am using Photon Plus and Unity Pro for a turnbased Game.
when I try to compile the Memory Game Demo, which is similar to my project, to the iOS Plattform I get this Error:
"Error building Player: SystemException: System.Net.Sockets are supported only on Unity iOS Pro. Referenced from assembly 'Photon3Unity3D'."
Q1:
what I am doing wrong on this or how to avoid this error ?
Q2:
what do I need to get the Memory Game Demo run on an IPad ? Do I need Unity iOS Pro ?
Q3:
will especially this code from MemoryGameClient.cs run on iOS
public class MemoryGameClient : LoadBalancingClient
{ ...
webForwardToPush = true; // this will send the props to the WebHooks, which in turn will push a message to the other player.
//Debug.Log(string.Format("saved board to room-props {0}", SupportClass.DictionaryToString(boardProps)));
this.OpSetCustomPropertiesOfRoom(boardProps, webForwardToPush);
help would be appreciated.
Jo
I am using Photon Plus and Unity Pro for a turnbased Game.
when I try to compile the Memory Game Demo, which is similar to my project, to the iOS Plattform I get this Error:
"Error building Player: SystemException: System.Net.Sockets are supported only on Unity iOS Pro. Referenced from assembly 'Photon3Unity3D'."
Q1:
what I am doing wrong on this or how to avoid this error ?
Q2:
what do I need to get the Memory Game Demo run on an IPad ? Do I need Unity iOS Pro ?
Q3:
will especially this code from MemoryGameClient.cs run on iOS
public class MemoryGameClient : LoadBalancingClient
{ ...
webForwardToPush = true; // this will send the props to the WebHooks, which in turn will push a message to the other player.
//Debug.Log(string.Format("saved board to room-props {0}", SupportClass.DictionaryToString(boardProps)));
this.OpSetCustomPropertiesOfRoom(boardProps, webForwardToPush);
help would be appreciated.
Jo
0
Comments
-
to say things short:
this seams to solve the socket error problem
https://www.assetstore.unity3d.com/en/#!/content/131660 -
Yes, you would need Unity for iOS pro.
The problem is that Turnbased does not have a Turnbased PLUS edition with the native socket plugin for iOS. In your case, Turnased can't be exported (obviously) due to the Unity licensing for using the C# Socket class.
At the moment, I don't have a timing for a Turnbased solution with native sockets, sorry.
Yes, the WebForward will work, once you can export the project and connect.0