RPC being called two times?
Options
Hi, I'm having trouble with calling a RPC method since it is being called two times, eventhough I only call it once from the code. Find the trace for the second (and unexpected) call bellow:
Game:my_rpc_handler(String, String, String) (at Assets/Scripts/Game.cs:1736)
System.Reflection.MethodBase:Invoke(Object, Object[])
NetworkingPeer:ExecuteRPC(Hashtable, PhotonPlayer) (at Assets/Plugins/PhotonNetwork/NetworkingPeer.cs:1521)
NetworkingPeer:OnEvent(EventData) (at Assets/Plugins/PhotonNetwork/NetworkingPeer.cs:1313)
ExitGames.Client.Photon.PeerBase:DeserializeMessageAndCallback(Byte[])
ExitGames.Client.Photon.EnetPeer:DispatchIncomingCommands()
ExitGames.Client.Photon.PhotonPeer:DispatchIncomingCommands()
PhotonHandler:Update() (at Assets/Plugins/PhotonNetwork/PhotonHandler.cs:79)
Any ideas?
Cheers.
Game:my_rpc_handler(String, String, String) (at Assets/Scripts/Game.cs:1736)
System.Reflection.MethodBase:Invoke(Object, Object[])
NetworkingPeer:ExecuteRPC(Hashtable, PhotonPlayer) (at Assets/Plugins/PhotonNetwork/NetworkingPeer.cs:1521)
NetworkingPeer:OnEvent(EventData) (at Assets/Plugins/PhotonNetwork/NetworkingPeer.cs:1313)
ExitGames.Client.Photon.PeerBase:DeserializeMessageAndCallback(Byte[])
ExitGames.Client.Photon.EnetPeer:DispatchIncomingCommands()
ExitGames.Client.Photon.PhotonPeer:DispatchIncomingCommands()
PhotonHandler:Update() (at Assets/Plugins/PhotonNetwork/PhotonHandler.cs:79)
Any ideas?
Cheers.
0
Comments
-
is it being called by multiple clients somehow?0
-
I will check it out. Thank you.0