OnPhotonSerializeView isn't called from the readers side

Options
Hi!

I have a problem where the OnPhotonSerializeView isn't being called from the readers side. It works fine from the writers side, but nothing happens for the Reader. I've used a PhotonView and added the correct script as a Observed component, set the inheritance to be from MonoBehaviourPunCallbacks, and IPunObservable, but nothing happens. Any help would be appreciated!

Comments

  • matthewjd24
    edited July 2020
    Options
    So
    public void OnPhotonSerializeView(PhotonStream stream, PhotonMessageInfo info){}
    
    isn't being called at all is what you're saying? Just double checking, you have
    using Photon.Pun;
    
    at the top?