RtMessage payload exceeded maximum size of 4096 bytes

0

Hiii everyone. I have an issue when i send payload to server using Rtmessage i have exception : exceeded maximum size of 4096 bytes. I'm using Unity client and Realtime server script.

Can i increase capacity of message payload size ?. Because i want to sync many data with other players.

Thanks guys so much.

gefragt vor 4 Jahren224 Aufrufe
3 Antworten
0

The max message size I don't believe is configurable currently. I will check with the GameLift service team to see if they have any advice or can help you out here.

If you want to "sync many data with other players" you may be pushing the limits of Realtime. Its not designed to handle large volumes of network replication/sync. If you need accurate, timely replication of large volumes of data you may need to consider custom servers or get clever with data compression, data splitting etc.

If possible, could you provide your use case or examples of the type of data you are trying to synch?

beantwortet vor 4 Jahren
0

I've sync many data example : Player location , Object location , Player status , ... . I splited data.

I wonder why gamelift realtime server can send much large size than client does.

When player connect server send all data realtime to players.

beantwortet vor 4 Jahren
0

Hi!

Unfortunately GameLift does not support this capability at the moment, however I can open a feature request on our end for this. To get some more data on what you would potentially looking for;

  1. What is the use case/flow that your server is doing such that it needs to send that much data?
  2. What is the maximum message size you are looking to support?

I'd echo Pip's point above that if large scale replication across servers Realtime servers may not be solution you are looking for

beantwortet vor 4 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen