Disconnection due to large custom type size

Options

In our project, we are sending one large event per game which is around 80,000 bytes. Photon is getting disconnected while trying send this event. This did not used to happen before even though the event data size is almost the same as before. Can you help us understand why this is happening all of a sudden? @Tobias

This is the error message we are receiving at the moment.

Got DisconnectMessage. Code: -12 Msg: "Failed to parse Operation using protocol GpBinaryV18 / encrypted: False. errorCode=-12, errorMsg: 'Failed to read value for key:'245', errorMsg:'length of custom type is too big: length=87274, limit=32767''. Data:{"vals":{"247":4,"244":1},"req":253}, op/ev/resp code=253". Debug Info: {}

Comments

  • Tobias
    Options

    Replied to your mail before. Just for completeness: We will fix this asap.

  • MrSueko
    MrSueko
    edited May 2023
    Options

    Hi, @Tobias !

    Our users are also experiencing this.

    Got DisconnectMessage. Code: -12 Msg: "Failed to parse Operation using protocol GpBinaryV18 / encrypted: False. errorCode=-12, errorMsg: 'Failed to read value for key:'245', errorMsg:'Failed to read value for key:'4', errorMsg:'length of custom type is too big: length=34529, limit=32767'''. Data:{"vals":{"247":4,"244":200},"req":253}, op/ev/resp code=253". Debug Info: {}

    What is it? What can we do? Has it been fixed?

  • Tobias
    Options

    If you don't use a recent client SDK version, please update and test again.

    The forum is set to read only today, so this should move over to mail.

    Send this, your AppId and SDK version, so we can look into this.