Field sendQueueCapacity
Capacity of the send queue. This should be the maximum number of packets expected to be send in a single update (each frame). The best value will depend heavily on the game type, but generally should be a multiple of the maximum number of players. The only impact of increasing this value is increased memory usage, with an expected ~1400 bytes of memory being used per unity of capacity. The queue is shared across all connections, so servers should set this higher than clients.
Namespace: Unity.Networking.Transport
Assembly: solution.dll
Syntax
public int sendQueueCapacity
Returns
Type | Description |
---|---|
int | Queue capacity in number of packets. |