Default serialization frequency?

Options
Is there a set frequency at which the PUN serialization code is called? Or is it called every update?

Comments

  • jeanfabre
    Options
    Hi,

    OnPhotonSerializeView is not called on every update, instead it's called based on the following properties:

    "
    PhotonNetwork.sendRateOnSerialize affects how often OnPhotonSerializeView is called.
    PhotonNetwork.sendRate affects how often packages are sent by this client.
    "

    Under the hood, we have this rule: sendRateOnSerialize needs to be <= sendRate

    So based on this, you can then affect the overall rate of communication for all things Photon.

    Bye,

    Jean