Before I add NetworkStreamInGame, it seems like there is default timeout that the player needs to add NetworkStreamInGame as soon as possible and the game will just disconnect when failed to do that. Which component or system should I set to increase timeout?
There is no specific timing request for adding the NetworkStreamInGame. Clients send heartbeat messages to the server to keep the connection alive when when not in game (is an RPC).
It may be that the frequency of the hearbeats is too low for some reason. Did you change the default connection timeout for the transport? (also the keep alive frequency is not exposed)
I think that there may be a problem in case client set the connection as in game but the server doesn’t. If that happen, the heartbeat is not sent anymore (because it is sent only for connection that aren’t in game). But if the server did not send any snapshots, the client will not receive ghosts and it will not send commands or other data. As such the connection may get closed.
Is that your case?
I see. I thought there is timeout time. I dun have any issue so far. Just curious how it works.