Ask a Question

Ask a Question
Back to All

I'm getting some lag with the multiplayer relay server. Is there a way to speed up the response times?

The default GameRelay implementation polls once per second or half-second — there is an alternative implementation that gets injected before the Beamable SDK is initialized which polls more often and should have far better latency.

You can see this in the sample project
https://github.com/beamable/Multiplayer_KOR_Sample_Project

Specifically in the FastNetworkStreams.cs file
https://github.com/beamable/Multiplayer_KOR_Sample_Project/blob/main/client/Assets/Scripts/Runtime/Beamable/Samples/KOR/Multiplayer/Core/FastNetworkEventStream.cs