Kill notifier and bots

Report bugs of MFPS 2.0 here
Post Reply
User avatar
websbk
Contributor
Contributor
Posts: 180
Joined: Fri Aug 04, 2017 5:34 pm

If you install this addon , when you kill a bot you get this kind of error

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)
User avatar
Lovatto
Admin
Admin
Posts: 1834
Joined: Sun Dec 07, 2014 3:18 pm
Contact:

You have integrate the addon in the scene?
remember that for this addon you need click on "integrate" in each map scene.
How to find your Invoice Number: Here
How to find your Order Number: Here
User avatar
websbk
Contributor
Contributor
Posts: 180
Joined: Fri Aug 04, 2017 5:34 pm

Lovatto wrote:You have integrate the addon in the scene?
remember that for this addon you need click on "integrate" in each map scene.
Yes the addon is integrated, there is a killnotifer prefab on the stage
Post Reply