Disconnecting

Options

so i have the error "Code: -11 Msg: "SendBufferFull"" a player gets disconnected when they join a room no matter how much people are in it, my traffic usage is at 23% and peak ccu is at 17, is it currently making it impossible to play with other people

Best Answers

  • Meep
    Meep ✭✭✭
    Answer ✓
    Options

    It means you are sending too much. If it happens when you join then maybe there is too much data inside of your custom properties or maybe you are instantiating a lot. Maybe you are even storing things in the room cache endlessly by buffering RPCs and such. This could also be the work of a bad actor if you're sure that your code has no issues like this.

    For reference the UDP send buffer is 1MB in size give or take. So sending more than that on average will trigger the failsafe.

  • Tobias
    Tobias admin
    Answer ✓
    Options

    Buffered / cached RPCs could cause this, yes.

    There is a doc about Analyzing Disconnects.

Answers

  • Meep
    Meep ✭✭✭
    Answer ✓
    Options

    It means you are sending too much. If it happens when you join then maybe there is too much data inside of your custom properties or maybe you are instantiating a lot. Maybe you are even storing things in the room cache endlessly by buffering RPCs and such. This could also be the work of a bad actor if you're sure that your code has no issues like this.

    For reference the UDP send buffer is 1MB in size give or take. So sending more than that on average will trigger the failsafe.

  • JokerJosh
    Options

    so the main cause could be buffering RPCs? Could void Update()'s be causing this issue aswell?

  • Tobias
    Tobias admin
    Answer ✓
    Options

    Buffered / cached RPCs could cause this, yes.

    There is a doc about Analyzing Disconnects.