Field Value
The desired packet size to use for the snapshot. By default, the packet size is the MTU minus some headers. It is possible to specify a packet size larger than a single MTU, in which case the snapshot data is sent using a pipeline that support fragmentation (see unreliableFragmentedPipeline. The upper bound limit for this value is payload capacity of the fragmentation pipeline (see FragmentationUtility).
Namespace: Unity.NetCode
Assembly: solution.dll
Syntax
public int Value
Returns
Type | Description |
---|---|
int |
Remarks
There is a minimum snapshot size, which ensures that some new and destroyed entities get replicated, and ensures that at least one ghost is replicated in every snapshot. See GhostChunkSerializer for this behaviour.