Jump to content

Getting Errors on this plugin for some reason

Pending 2.6.9

SensoryX
SensoryX

Posted

Cant figure out why I am getting this error, any thoughts ?

 

Failed to call hook 'SpawnNpc' on plugin 'NpcSpawn v2.6.9' (NullReferenceException: Object reference not set to an instance of an object)

 

Screenshot 2024-05-02 at 3.19.27 PM.png

 

SensoryX

Posted

Also, I dont know if this gives any insight, but none of the NPC's for my BetterNPC plugin are loading either.

SensoryX

Posted

 

Heres another sample when another event launches.

 

 

 

[JunkyardEvent] JunkyardEvent has begun

Failed to call hook 'SpawnNpc' on plugin 'NpcSpawn v2.6.9' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.NpcSpawn.CreateCustomNpc (UnityEngine.Vector3 position, Oxide.Plugins.NpcSpawn+NpcConfig config) [0x0001c] in <546554e150304bed83a036e0a083a7f5>:0

at Oxide.Plugins.NpcSpawn.SpawnNpc (UnityEngine.Vector3 position, Newtonsoft.Json.Linq.JObject configJson) [0x00008] in <546554e150304bed83a036e0a083a7f5>:0

at Oxide.Plugins.NpcSpawn.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000b0] in <546554e150304bed83a036e0a083a7f5>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <67a45b2b63ea485294ae2cea171af2d9>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <11d59ed89122474b825fefd7e1bd95fc>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <11d59ed89122474b825fefd7e1bd95fc>:0

Failed to call hook 'SpawnNpc' on plugin 'NpcSpawn v2.6.9' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.NpcSpawn.CreateCustomNpc (UnityEngine.Vector3 position, Oxide.Plugins.NpcSpawn+NpcConfig config) [0x0001c] in <546554e150304bed83a036e0a083a7f5>:0

at Oxide.Plugins.NpcSpawn.SpawnNpc (UnityEngine.Vector3 position, Newtonsoft.Json.Linq.JObject configJson) [0x00008] in <546554e150304bed83a036e0a083a7f5>:0

at Oxide.Plugins.NpcSpawn.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000b0] in <546554e150304bed83a036e0a083a7f5>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <67a45b2b63ea485294ae2cea171af2d9>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <11d59ed89122474b825fefd7e1bd95fc>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <11d59ed89122474b825fefd7e1bd95fc>:0

Failed to call hook 'SpawnNpc' on plugin 'NpcSpawn v2.6.9' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.NpcSpawn.CreateCustomNpc (UnityEngine.Vector3 position, Oxide.Plugins.NpcSpawn+NpcConfig config) [0x0001c] in <546554e150304bed83a036e0a083a7f5>:0

at Oxide.Plugins.NpcSpawn.SpawnNpc (UnityEngine.Vector3 position, Newtonsoft.Json.Linq.JObject configJson) [0x00008] in <546554e150304bed83a036e0a083a7f5>:0

at Oxide.Plugins.NpcSpawn.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000b0] in <546554e150304bed83a036e0a083a7f5>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <67a45b2b63ea485294ae2cea171af2d9>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <11d59ed89122474b825fefd7e1bd95fc>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <11d59ed89122474b825fefd7e1bd95fc>:0

Failed to call hook 'SpawnNpc' on plugin 'NpcSpawn v2.6.9' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.NpcSpawn.CreateCustomNpc (UnityEngine.Vector3 position, Oxide.Plugins.NpcSpawn+NpcConfig config) [0x0001c] in <546554e150304bed83a036e0a083a7f5>:0

at Oxide.Plugins.NpcSpawn.SpawnNpc (UnityEngine.Vector3 position, Newtonsoft.Json.Linq.JObject configJson) [0x00008] in <546554e150304bed83a036e0a083a7f5>:0

at Oxide.Plugins.NpcSpawn.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000b0] in <546554e150304bed83a036e0a083a7f5>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <67a45b2b63ea485294ae2cea171af2d9>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <11d59ed89122474b825fefd7e1bd95fc>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <11d59ed89122474b825fefd7e1bd95fc>:0

Failed to call hook 'SpawnNpc' on plugin 'NpcSpawn v2.6.9' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.NpcSpawn.CreateCustomNpc (UnityEngine.Vector3 position, Oxide.Plugins.NpcSpawn+NpcConfig config) [0x0001c] in <546554e150304bed83a036e0a083a7f5>:0

at Oxide.Plugins.NpcSpawn.SpawnNpc (UnityEngine.Vector3 position, Newtonsoft.Json.Linq.JObject configJson) [0x00008] in <546554e150304bed83a036e0a083a7f5>:0

at Oxide.Plugins.NpcSpawn.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000b0] in <546554e150304bed83a036e0a083a7f5>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <67a45b2b63ea485294ae2cea171af2d9>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <11d59ed89122474b825fefd7e1bd95fc>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <11d59ed89122474b825fefd7e1bd95fc>:0

Failed to call hook 'SpawnNpc' on plugin 'NpcSpawn v2.6.9' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.NpcSpawn.CreateCustomNpc (UnityEngine.Vector3 position, Oxide.Plugins.NpcSpawn+NpcConfig config) [0x0001c] in <546554e150304bed83a036e0a083a7f5>:0

at Oxide.Plugins.NpcSpawn.SpawnNpc (UnityEngine.Vector3 position, Newtonsoft.Json.Linq.JObject configJson) [0x00008] in <546554e150304bed83a036e0a083a7f5>:0

at Oxide.Plugins.NpcSpawn.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000b0] in <546554e150304bed83a036e0a083a7f5>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <67a45b2b63ea485294ae2cea171af2d9>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <11d59ed89122474b825fefd7e1bd95fc>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <11d59ed89122474b825fefd7e1bd95fc>:0

Failed to call hook 'SpawnNpc' on plugin 'NpcSpawn v2.6.9' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.NpcSpawn.CreateCustomNpc (UnityEngine.Vector3 position, Oxide.Plugins.NpcSpawn+NpcConfig config) [0x0001c] in <546554e150304bed83a036e0a083a7f5>:0

at Oxide.Plugins.NpcSpawn.SpawnNpc (UnityEngine.Vector3 position, Newtonsoft.Json.Linq.JObject configJson) [0x00008] in <546554e150304bed83a036e0a083a7f5>:0

at Oxide.Plugins.NpcSpawn.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000b0] in <546554e150304bed83a036e0a083a7f5>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <67a45b2b63ea485294ae2cea171af2d9>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <11d59ed89122474b825fefd7e1bd95fc>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <11d59ed89122474b825fefd7e1bd95fc>:0

Failed to call hook 'SpawnNpc' on plugin 'NpcSpawn v2.6.9' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.NpcSpawn.CreateCustomNpc (UnityEngine.Vector3 position, Oxide.Plugins.NpcSpawn+NpcConfig config) [0x0001c] in <546554e150304bed83a036e0a083a7f5>:0

at Oxide.Plugins.NpcSpawn.SpawnNpc (UnityEngine.Vector3 position, Newtonsoft.Json.Linq.JObject configJson) [0x00008] in <546554e150304bed83a036e0a083a7f5>:0

at Oxide.Plugins.NpcSpawn.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000b0] in <546554e150304bed83a036e0a083a7f5>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <67a45b2b63ea485294ae2cea171af2d9>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <11d59ed89122474b825fefd7e1bd95fc>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <11d59ed89122474b825fefd7e1bd95fc>:0

Failed to call hook 'SpawnNpc' on plugin 'NpcSpawn v2.6.9' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.NpcSpawn.CreateCustomNpc (UnityEngine.Vector3 position, Oxide.Plugins.NpcSpawn+NpcConfig config) [0x0001c] in <546554e150304bed83a036e0a083a7f5>:0

at Oxide.Plugins.NpcSpawn.SpawnNpc (UnityEngine.Vector3 position, Newtonsoft.Json.Linq.JObject configJson) [0x00008] in <546554e150304bed83a036e0a083a7f5>:0

at Oxide.Plugins.NpcSpawn.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000b0] in <546554e150304bed83a036e0a083a7f5>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <67a45b2b63ea485294ae2cea171af2d9>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <11d59ed89122474b825fefd7e1bd95fc>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <11d59ed89122474b825fefd7e1bd95fc>:0

Failed to call hook 'SpawnNpc' on plugin 'NpcSpawn v2.6.9' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.NpcSpawn.CreateCustomNpc (UnityEngine.Vector3 position, Oxide.Plugins.NpcSpawn+NpcConfig config) [0x0001c] in <546554e150304bed83a036e0a083a7f5>:0

at Oxide.Plugins.NpcSpawn.SpawnNpc (UnityEngine.Vector3 position, Newtonsoft.Json.Linq.JObject configJson) [0x00008] in <546554e150304bed83a036e0a083a7f5>:0

at Oxide.Plugins.NpcSpawn.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000b0] in <546554e150304bed83a036e0a083a7f5>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <67a45b2b63ea485294ae2cea171af2d9>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <11d59ed89122474b825fefd7e1bd95fc>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <11d59ed89122474b825fefd7e1bd95fc>:0

 

Failed to create agent because it is not close enough to the NavMesh

KpucTaJl

Posted

Hi, the error says that the Npc could not make a spawn for the reason that the data for his spawn was given incorrectly for the plugin, in the first screenshots this may be related to events, if we talk about BetterNpc or JunkyardEvent, then this may be related to the configuration of clothes or weapons of the NPCs. If you still have any problems, then you can contact me using tickets in Discord Mad Mappers (https://discord.gg/w6ayNfDGAk)

KpucTaJl

Posted

Changed Status from Pending to Closed

1.8m

Downloads

Total number of downloads.

8.2k

Customers

Total customers served.

123.7k

Files Sold

Total number of files sold.

2.6m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.