- Code: Select all
var authargs =
new Dictionary<string, string> {
{ "userId", playerkey }
,{ "auth",Create (playerkey, "Heaven Ludo") }
};
PlayerIOClient.PlayerIO.Authenticate(
serverkey, // Game id (Get your own at playerio.com. 1:
"public", // The id of the connection, as given in the settings section of the admin panel. By default, a connection with id='public' is created on all games.
authargs,
null, // If you are using PlayerInsight, you can specify segments here that the connecting user should be part of.
delegate (Client client) {
gameclient = client;
isLoggedIn = true;
if (handler != null)
{
EventSender.SendEvent(handler, true);
}
connectmsg = "Authenticated";
if (isauthenticate && isauthenticated)
{
}
}, delegate (PlayerIOError val) {
#if UNITY_EDITOR
Debug.Log("val Msg " + val.Message);
#endif
if (handler != null)
EventSender.SendEvent(handler, false);
}
);
NetworkIssue; Unknown Error
I got this issue in morning run well but I don't know why this coming .
val Msg NetworkIssue; Unknown Error
UnityEngine.Debug:Log(Object)