PhotonView with ID 1001 has 2 methods "ReducePlayerHealth"

PhotonView with ID 1001 has 2 methods "ReducePlayerHealth" that takes 1 argument(s): Int32. Should be just one?
UnityEngine.Debug:LogError(Object)
Photon.Pun.PhotonNetwork:ExecuteRpc(Hashtable, Player) (at Assets/Photon/PhotonUnityNetworking/Code/PhotonNetworkPart.cs:537)
Photon.Pun.PhotonNetwork:RPC(PhotonView, String, RpcTarget, Player, Boolean, Object[]) (at Assets/Photon/PhotonUnityNetworking/Code/PhotonNetworkPart.cs:1078)
Photon.Pun.PhotonNetwork:RPC(PhotonView, String, RpcTarget, Boolean, Object[]) (at Assets/Photon/PhotonUnityNetworking/Code/PhotonNetwork.cs:2737)
Photon.Pun.PhotonView:RPC(String, RpcTarget, Object[]) (at Assets/Photon/PhotonUnityNetworking/Code/PhotonView.cs:410)
Dmg_Destroy:Damage(PhotonView) (at Assets/Scripts/Spells/Dmg_Destroy.cs:64)
Dmg_Destroy:OnTriggerEnter2D(Collider2D) (at Assets/Scripts/Spells/Dmg_Destroy.cs:119)

I know for a fact there is only one method called "ReducePlayerHealth".

What is going on with this?

Comments

  • Keyserjaya
    edited October 2019
    I have the same problem.
    RpcSendCommand is only one method and has 1 parameter object[] anyway, but it says has 9 params xD
    *Note:
    - i have do "Clear RPC List" and "Refresh RPC"
    - It doesn't happened yesterday

    PhotonView with ID 1001 has 2 methods "RpcSendCommand" that takes 9 argument(s): Int32, Byte, Byte, Int32, null, Int32, Single[], Single[], Int32. Should be just one?
    UnityEngine.Debug:LogError(Object)
    Photon.Pun.PhotonNetwork:ExecuteRpc(Hashtable, Player) (at Assets/_Photon/PhotonUnityNetworking/Code/PhotonNetworkPart.cs:537)
    Photon.Pun.PhotonNetwork:RPC(PhotonView, String, RpcTarget, Player, Boolean, Object[]) (at Assets/_Photon/PhotonUnityNetworking/Code/PhotonNetworkPart.cs:1064)
    Photon.Pun.PhotonNetwork:RPC(PhotonView, String, RpcTarget, Boolean, Object[]) (at Assets/_Photon/PhotonUnityNetworking/Code/PhotonNetwork.cs:2732)
    Photon.Pun.PhotonView:RPC(String, RpcTarget, Object[]) (at Assets/_Photon/PhotonUnityNetworking/Code/PhotonView.cs:410)
    RTSEngine.InputManager:SendInput(NetworkInput, Entity, Entity) (at Assets/RTS Engine/Multiplayer/Scripts/InputManager.cs:104)
  • Nori_SC
    Nori_SC
    edited November 2019
    has 2 methods "RpcSendCommand".... Should be just one?

    read log
    RPC is duplicated somewhere
    another script already has this RPC name in the script