Jump to content

error

Closed 2.7.4

INSIDEBONSAI
INSIDEBONSAI

Posted (edited)

Is this error caused by a SpawnNPC?
There are many others too.

 

  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <795304323ac74a298b8ed190a1dfa739>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <beb2b64691c64e2b95b99491bd85442c>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <beb2b64691c64e2b95b99491bd85442c>:0 
Failed to call hook 'SpawnNpc' on plugin 'NpcSpawn v2.7.4' (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 <0c44d7603ee7406caa1cff50ee952de3>:0 
  at Oxide.Plugins.NpcSpawn.SpawnNpc (UnityEngine.Vector3 position, Newtonsoft.Json.Linq.JObject configJson) [0x00008] in <0c44d7603ee7406caa1cff50ee952de3>:0 
  at Oxide.Plugins.NpcSpawn.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000b0] in <0c44d7603ee7406caa1cff50ee952de3>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <795304323ac74a298b8ed190a1dfa739>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <beb2b64691c64e2b95b99491bd85442c>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <beb2b64691c64e2b95b99491bd85442c>:0 
Failed to call hook 'SpawnNpc' on plugin 'NpcSpawn v2.7.4' (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 <0c44d7603ee7406caa1cff50ee952de3>:0 
  at Oxide.Plugins.NpcSpawn.SpawnNpc (UnityEngine.Vector3 position, Newtonsoft.Json.Linq.JObject configJson) [0x00008] in <0c44d7603ee7406caa1cff50ee952de3>:0 
  at Oxide.Plugins.NpcSpawn.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000b0] in <0c44d7603ee7406caa1cff50ee952de3>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <795304323ac74a298b8ed190a1dfa739>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <beb2b64691c64e2b95b99491bd85442c>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <beb2b64691c64e2b95b99491bd85442c>:0 
Failed to call hook 'SpawnNpc' on plugin 'NpcSpawn v2.7.4' (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 <0c44d7603ee7406caa1cff50ee952de3>:0 
  at Oxide.Plugins.NpcSpawn.SpawnNpc (UnityEngine.Vector3 position, Newtonsoft.Json.Linq.JObject configJson) [0x00008] in <0c44d7603ee7406caa1cff50ee952de3>:0 
  at Oxide.Plugins.NpcSpawn.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000b0] in <0c44d7603ee7406caa1cff50ee952de3>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <795304323ac74a298b8ed190a1dfa739>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <beb2b64691c64e2b95b99491bd85442c>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <beb2b64691c64e2b95b99491bd85442c>:0 

Edited by INSIDEBONSAI
INSIDEBONSAI

Posted

Solved.
This location in the config file was null.

image.png

Jbird

Posted

On 9/6/2024 at 9:34 PM, INSIDEBONSAI said:

Solved.
This location in the config file was null.

image.png

Thank you for the update. I was curious with the first message since it showed the correct version of the plugin.

Don't hesitate to let me know if you have any other issues. Glad you were able to find the issue and resolve it quickly.

Just curious if you don't mind, in case it happens to any others, did this section seem to have cleared itself?

INSIDEBONSAI

Posted

18 hours ago, Jbird said:

Thank you for the update. I was curious with the first message since it showed the correct version of the plugin.

Don't hesitate to let me know if you have any other issues. Glad you were able to find the issue and resolve it quickly.

Just curious if you don't mind, in case it happens to any others, did this section seem to have cleared itself?

No. I checked the config file and it was null, so I fixed it myself.

Jbird

Posted

23 minutes ago, INSIDEBONSAI said:

No. I checked the config file and it was null, so I fixed it myself.

Thank you for the response was just curious. This should only happen if you were updating from a version previous to this option being in the config

aimacak

Posted

Thank you for contacting support, I'm glad if your problem is solved, if not, you can write here, even in a closed topic, or join the Mad Mappers Discord server, where you can also create a ticket and communicate in real time, which sometimes greatly speeds up problem solving. And I apologize if this message has caused you any discomfort, you can ignore it, thank you for your understanding.

KpucTaJl

Posted

Changed Status from Pending to Closed

2.2m

Downloads

Total number of downloads.

10.2k

Customers

Total customers served.

147.9k

Files Sold

Total number of files sold.

3.1m

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.