Hi all,
I was wondering how exactly do I get OnPhotonInstantiate to be called correctly?
What I have right now is a script inheriting from MonoBehaviourPunCallbacks and is subscribed using PhotonNetwork.AddCallbackTarget(this); in an overrided OnEnable as the migration guide suggests. However it isn't being called when a player is being instantiated.
Is there something I am missing?
Thanks.
↧