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.

질문됨 4년 전225회 조회
3개 답변
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?

답변함 4년 전
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.

답변함 4년 전
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

답변함 4년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠