Are there examples of client-side prediction?

Yes! There are three movement type examples within the Fish-Networking examples folder. There are also a variety of tutorials specifically for client-side prediction within Tutorials.

Do I have to send Reconcile every tick?

No, you can send reconcile every few ticks to save bandwidth. If a de-synchronization were to occur there is a chance it may take a little longer for the client to correct. Generally, it's still safe to skip reconciles. Here's an example of sending a reconcile only every 3 ticks.

if (base.TimeManager.Tick % 3 == 0) 
     //Build reconcile. 

Last updated