- Home /
Client Disconnect with message “Peer Created” - PUN
I am developing multiplayer game in unity using Photon Unity Network plugin. At present, I have completed half of my game. Today I am facing new issue regarding connection of client.
Initially it connects with room but after sometime it automatically disconnected from server and this is happening for every client that was exist in room.
GUILayout.Label(PhotonNetwork.connectionStateDetailed.ToString());
Above statement display Peer Created message on screen and after that
void OnConnectionFail()
{
Debug.Log("OnConnectionFail");
}
method gets called.
So what to do in this situation? Because data of this client was lost suddenly.
Your answer
Follow this Question
Related Questions
Unity array out of range exception, using photon unity network. 1 Answer
error spawning player says I'm not connected when photon connects and puts me in a room 0 Answers
How to instatiate two players simultaneoulsy before loading level 1 Answer
[PUN] Syncing Rigidbodies across network. 1 Answer
Photon Instantiate doesn't always work 0 Answers