Enum FullTickSmoothingMode
Ghosts that only move on full ticks can have their rendered transform interpolated between the last two full ticks via the FullTickSmoothingSystem, for frames that fall between ticks. That's every ghost on a single-world host (hosts never run partial ticks), and predicted ghosts on clients when PartialTickModeSelection is FullTicksOnly. It's disabled per prefab by default. If you're confident that the SimulationTickRate will align with the build target's vSync render rate, (for example, when targeting specific consoles and mobile devices), you can keep it disabled entirely via this setting, removing the CPU and memory overhead of caching transform state and performing interpolation. Else if you see stuttering issues, you can enable this. Refer to FullTickSmoothing.
Namespace: Unity.Netcode
Assembly: Unity.NetCode.dll
Syntax
public enum FullTickSmoothingMode
Fields
| Name | Description |
|---|---|
| Disabled | No interpolation, the rendered transform follows the simulated one. Designed for mobile and console, where you expect the SimulationTickRate to perfectly align with targetFrameRate (or vSync) render rate. |
| Interpolate | Introduces half a SimulationTickRate tick worth of 'input to render' latency, on average, but does so to smooth out transforms on frames that fall between ticks (host "off frames", refer to IsOffFrame, or client partial tick frames). Designed for PC games (which typically have variable render refresh rates), or cases where your SimulationTickRate is not equal to your targetFrameRate (or vSync) render rate. |