Simulation frequency
Without a special configuration, Entity data is captured at the highest possible frequency and sent to the Replication Server. This often generates more data than is needed to efficiently replicate the Entity's state across the network.
Global simulator frequency
On a Simulator, we can limit the framerate globally using Unity's built-in static variable targetFrameRate.
coherence will automatically limit the target framerate of uploaded Simulators to 30 frames per second. We plan to make it possible to lift this restriction in the future. Check back for updates in the next couple of releases.
Per-binding sampling frequency
Replication frequency can be configured for each binding individually in the Prefab Optimize window. The Sample Rate controls how many times per second values are sampled and synced over the network.
![](https://docs.coherence.io/~gitbook/image?url=https%3A%2F%2F3798176112-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FZcBSvjNQZSas5L9C0K8K%252Fuploads%252FAcd7KKoH2AGvUwlBEpkG%252Fimage.png%3Falt%3Dmedia%26token%3Dbad18691-e046-4489-8f14-c3e0d8e360a5&width=768&dpr=4&quality=100&sign=f018957&sv=1)
High sample rates increase replication accuracy and reduce latency, but consume more bandwidth. The upper limit at which samples can be quantized is 60hz, so sample rates beyond that are generally not recommended. It is not possible to change sampling frequency at runtime.
Values that don't change over time do not consume any bandwidth. Only bindings with updated values will be synced over the network.
Last updated