SyncVar vs ClientRPC

Does anyone know the difference between SyncVar and ClientRPC when it comes to speed/latency?? I have some features that can be implemented either way, but I want to use the implementation that has the lowest latency.

RPC’s are always sent instantly. SyncVars are only updated periodically (based on sendInterval) and therefore can have a delay.

Use caution though… both are buggy. There are some bugs that prevent RPC’s from always working, and also SyncVars can de-sync and hooks can fail. MessageBase seems to be most reliable.

2 Likes