Search Unity

RPC send rate

Discussion in 'Multiplayer' started by Tinus, Jun 19, 2010.

  1. Tinus

    Tinus

    Joined:
    Apr 6, 2009
    Posts:
    437
    Quick question: I'm wondering when RPCs are sent? Are they sent over the network immediately, regardless of the send rate Unity uses to synchronize MonoBehaviours, or are they buffered and sent in a batch when the next sync occurs?
     
  2. Dreamora

    Dreamora

    Joined:
    Apr 5, 2008
    Posts:
    26,601
    They are sent directly (this frame, unsure if they are combined though), independent of the sync rate.
    the sync rate is only of importance for syncs (reliable and unrealiable)
     
  3. Tinus

    Tinus

    Joined:
    Apr 6, 2009
    Posts:
    437
    Cool, thanks man. :)