Nebula
Core

SyncDistanceRating

Whether a behavior's sync state reaches far clients less often, following the entity's distance tier as its transform does (NetworkBehaviour.SyncDistanceRating, docs/server-owned-entities.md D11).

generated from the sources
public enum SyncDistanceRating : byte

Whether a behavior's sync state reaches far clients less often, following the entity's distance tier as its transform does (NetworkBehaviour.SyncDistanceRating, docs/server-owned-entities.md D11). Configuration, not state: declare it on the behavior. Nothing is lost, only coalesced: once the state stops changing, one reliable keyframe reaches every client that holds the entity.

Members

NameValueDescription
Off0Every chunk to every client that holds the entity, whatever its distance. The default, and what Nebula always did.
Keyframes1For a behavior that writes deltas. A client in the entity's every-update band gets every chunk; a client further away gets only keyframes (at most one every NetworkIdentity.SyncKeyframeInterval ticks), one per window of its rate, and none where its rate is none. Once a client has missed a delta it gets no more deltas until its next keyframe.
WholeState2For a behavior whose every write is its whole state: the worker asks for full every time, so every chunk is a keyframe and a far client gets one per window of its rate, exactly as the entity's transform.

On this page