Jump to content

Failed to call hook

Closed 1.1.7

PINKY20053
PINKY20053

Posted

Failed to call hook 'SpawnNpc' on plugin 'NpcSpawn v2.0.7' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.NpcSpawnExtensionMethods.ExtensionMethods.Select[TSource,TResult] (System.Collections.Generic.IList`1[T] source, System.Func`2[T,TResult] predicate) [0x00026] in <6b9ae8192aaa4d7b98eb5d31ab987b31>:0 at Oxide.Plugins.NpcSpawn+CustomScientistNpc.UpdateInventory () [0x0011d] in <6b9ae8192aaa4d7b98eb5d31ab987b31>:0 at Oxide.Plugins.NpcSpawn+CustomScientistNpc.ServerInit () [0x0011d] in <6b9ae8192aaa4d7b98eb5d31ab987b31>:0 at BaseNetworkable.Spawn () [0x00035] in <32dc9dfab36748728a319b6b3ccd8f41>:0 at BaseEntity.Spawn () [0x00000] in <32dc9dfab36748728a319b6b3ccd8f41>:0 at Oxide.Plugins.NpcSpawn.CreateCustomNpc (UnityEngine.Vector3 position, Oxide.Plugins.NpcSpawn+NpcConfig config) [0x000cd] in <6b9ae8192aaa4d7b98eb5d31ab987b31>:0 at Oxide.Plugins.NpcSpawn.SpawnNpc (UnityEngine.Vector3 position, Newtonsoft.Json.Linq.JObject configJson) [0x00013] in <6b9ae8192aaa4d7b98eb5d31ab987b31>:0 at Oxide.Plugins.NpcSpawn.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00038] in <6b9ae8192aaa4d7b98eb5d31ab987b31>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <9882f28dc2204b4dba514a9ad18f5042>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <9882f28dc2204b4dba514a9ad18f5042>:0

KpucTaJl

Posted

Hi, I can't understand something, has this request been created again? Or you created it yourself. I have already answered it, how did it appear again?

KpucTaJl

Posted

or is it a new request of some kind?

KpucTaJl

Posted

Okay, I'll write an answer to it. This error means that you have some plugin on the server that uses Npc Spawn, but this plugin has not yet been updated to a new version. If you don't know what kind of plugin it is, send a list of your plugins with their versions, I'll tell you what you forgot to update or maybe you have some plugin that uses NpcSpawn and it hasn't been updated by the developer yet

KpucTaJl

Posted

Changed Status from Pending to Closed

1.7m

Downloads

Total number of downloads.

8k

Customers

Total customers served.

120.5k

Files Sold

Total number of files sold.

2.5m

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.