Photon disconnects when i enter the game
Options
hello, im having wierd issue , my simple project is all set, and its bugging me that it sometimes almost80% of times i get disconnected when i enter room with clients , and sometimes i enter the game with the player prefab showing or the game disconnect us one by one, i think its cuz its due to too much data transsimission idont know, because i use sooo little resourses for my game, and its just started with low asset ,,, so, anyone can guess what causes that? and how to fix it?
here is my info :
Traffic: 235.2 MB
Rooms max.: 2
CCU max.: 5
Msg/s per Room max.: 2,446
Rejected Players: 0
here is my info :
Traffic: 235.2 MB
Rooms max.: 2
CCU max.: 5
Msg/s per Room max.: 2,446
Rejected Players: 0
0
Comments
-
here is the error that happens when this "cut" happens
Cannot send op: 253 Not connected. PeerState: Disconnected
UnityEngine.Debug:LogError(Object)
NetworkingPeer:DebugReturn(DebugLevel, String) (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/NetworkingPeer.cs:1585)
ExitGames.Client.Photon.EnetPeer:EnqueueOperation(Dictionary`2, Byte, SendOptions, EgMessageType)
ExitGames.Client.Photon.PhotonPeer:SendOperation(Byte, Dictionary`2, SendOptions)0 -
Hi @SubstanceSHIFT,
Thank you for choosing Photon!
You did not provide the disconnection cause.
Read "Analyzing Disconnects".Traffic: 235.2 MBFrom looking at the info, it seems you are sending too much or too often.
Rooms max.: 2
CCU max.: 5
Msg/s per Room max.: 2,446
You should target 500 messages per second per room. You are doing 5 times that with only 5 CCU and 2 Rooms! you need to review how often you send messages and how big are those.0