"OnPlayerEnteredRoom" never called
Hi,i am implementing Photon on my unity3d multiplayer game,i set up the photon connector (region,id,ecc..),via script all the callbacks work but "OnPlayerEnteredRoom" and "OnPlayerLeftRoom" not.
I am testing it,when a player enter in the room (and i am already in the room) i don't see the metod called.
Do you know how can i solve the problem?
Answers
-
You maybe didn't register that class / component for callbacks. This is the first to check.
0 -
i extender the class "MonoBehaviourPunCallbacks" and configured correctly the connector at thr photon servers in the ispector,do you have others ideas about the problem?
0 -
When you inherit MonoBehaviourPunCallbacks and implement OnEnable or OnDisable, make sure to call base.OnEnable and base.OnDisable respectively.
0 -
Thank you so much that was the problem.
Now the problem is that when i build my project for android photon doesn't works
0