OnPhotonSerializeView calling conditions

Options
Hi. I've been developing a turn based multiplayer game using PUN and I noticed something interesting about OnPhotonSerializeView method. It seems that if I'm syncing an array and I don't actually change the address of the array pointer, the OnPhotonSerializeView method isn't called.

For example: if I'm syncing "int[] arr" then doing "arr[i] = x" isn't going to call OnPhotonSerializeView.

Is this observation correct or am I missing something? Is there a documentation detailing how Photon decides when it's time to call OnPhotonSerializeView if PhotonView is set to Unreliable On Change?

Comments

  • Kym
    Options
    Is there another area where this is answered? I would like to know as well. The documentation is vague.
  • ercion
    Options
    I didn't find any. Sorry.