- Home /
It seems uNet is timing out because of bandwidth problems, but I'm only transmitting the location, rotation, and velocity of 2 players
After 20 seconds I get UNet Client Disconnect Error: Timeout
I've looked around and it seems this is because I'm using too much bandwidth. But all I'm transmitting is the rotation quaternion, the position vector, and the velocity vector every update of 2 players to each other. If I stop hitting this function to transmit the data, then my game doesn't time out.
With u-Link I had no problem sending way more data per update. Is there no way to increase the limit?
Comment
To make sure it is a bandwidth issue, use Wireshark to verify the data transmitted.
Answer by Guhanesh · Jan 20, 2016 at 12:40 PM
Use NetworkTransform Component on 2 players instead.,You can sync position,potation,velocity with it.
Your answer