Code: Select all
NullReferenceException: Object reference not set to an instance of an object
bl_AIShooterAgent.RpcDoDamage (Int32 damage, System.String wn, Vector3 direction, Int32 viewID, Boolean fromBot) (at Assets/MFPS/Scripts/GamePlay/AI/bl_AIShooterAgent.cs:170)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:232)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115)
NetworkingPeer.ExecuteRpc (ExitGames.Client.Photon.Hashtable rpcData, Int32 senderID) (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/NetworkingPeer.cs:3005)
NetworkingPeer.RPC (.PhotonView view, System.String methodName, PhotonTargets target, .PhotonPlayer player, Boolean encrypt, System.Object[] parameters) (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/NetworkingPeer.cs:3837)
PhotonNetwork.RPC (.PhotonView view, System.String methodName, PhotonTargets target, Boolean encrypt, System.Object[] parameters) (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/PhotonNetwork.cs:2942)
PhotonView.RPC (System.String methodName, PhotonTargets target, System.Object[] parameters) (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/PhotonView.cs:597)
bl_AIShooterAgent.DoDamage (Int32 damage, System.String wn, Vector3 direction, Int32 vi, Boolean fromBot) (at Assets/MFPS/Scripts/GamePlay/AI/bl_AIShooterAgent.cs:109)
bl_AIHitBox.DoDamage (Int32 damage, System.String wn, Vector3 direction, Int32 viewID, Boolean fromBot) (at Assets/MFPS/Scripts/GamePlay/AI/bl_AIHitBox.cs:16)
bl_Bullet.OnHit (RaycastHit hit) (at Assets/MFPS/Scripts/Weapon/bl_Bullet.cs:163)
bl_Bullet.OnUpdate () (at Assets/MFPS/Scripts/Weapon/bl_Bullet.cs:109)
bl_UpdateManager.Update () (at Assets/MFPS/Scripts/GamePlay/bl_UpdateManager.cs:151)