Field PayloadCapacity
Maximum size that can be fragmented by the FragmentationPipelineStage. Attempting to send a message larger than that will result in the send operation returning NetworkPacketOverflow. Maximum value is ~20MB for unreliable packets, and ~88KB for reliable ones.
Namespace: Unity.Networking.Transport.Utilities
Assembly: solution.dll
Syntax
public int PayloadCapacity
Returns
Type | Description |
---|---|
int | Maximum payload capacity. |