Search Unity

How are Unity RPCs handled internally?

Discussion in 'Multiplayer' started by Rodolphito, May 11, 2015.

  1. Rodolphito

    Rodolphito

    Joined:
    Jan 31, 2014
    Posts:
    17
    I would like to know if each RPC call gets its own UDP packet, or if all RPC calls during the course of one game tick are clumped up and sent together. If they are separate, would it be beneficial to manually stack up my RPC calls into one RPC call every tick, in terms of bandwidth? Or does unity already have a functionality like this?
     
  2. Rodolphito

    Rodolphito

    Joined:
    Jan 31, 2014
    Posts:
    17
    Bump... (I am going forward with combining all the RPC calls into one, but I would still like to know more about this, if anyone can shed some light on this it would be awesome.)
     
  3. jpthek9

    jpthek9

    Joined:
    Nov 28, 2013
    Posts:
    944
    They most likely don't do anything too fancy. I doubt they stack RPCs unfortunately. This gives you instant messages at the cost of more packets.