The game suddenly disconnect from the whole server

hey guys i hope u doing well.
im facing a weird error in my game project. when a player create a room with 4 max players everything works fine and two players can join the room correctly but why the forth player join he will lose the connection completely and disconnect from the server . i tried to debug the problem by(On disconect from master) and it will show that error ("disconect by disconect massege")
i have no idea what does that means...... so if u have any solution ill be happy to hear it
NOTE : the disconnection thing happens after few secs from the joinning


  • JohnTube
    JohnTube ✭✭✭✭✭
    Hi @Stress,

    Thank you for choosing Photon!

    I'm guessing you are using PUN 2 and connecting to Photon Cloud.
    You posted on the wrong category then (Photon Server, meant for self-hosted server).

    Check the error logs you can find one starting with "Got DisconnectMessage. Code:", it should contain more details about why the server disconnected the client.
  • Stress
    edited April 2021
    Hi @JohnTube
    oh sorry about that its my first time posting...
    about the error in the console its (Code -11 Msg"".Debug info{})
  • hey, hey @Stress

    you did quite a good job in finding out what is going on. so -11 means that your client was disconnected by SendBufferFull error

    That means that you send so much that client can not digest it. It is either to slow or you send so much

    The only solution is reduce amount of info you exchange

  • hey @chvetsov
    thank you so much for explaining the problem.
    i did what u said and every thing is working perfectly
    thanks again :)