Jump to content

Failed to call hook

Closed 1.1.7

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

Share this comment


Link to comment

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?

Share this comment


Link to comment

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

Share this comment


Link to comment
433.7k

Downloads

Total number of downloads.

2.3k

Customers

Total customers served.

32k

Files Sold

Total number of files sold.

519.6k

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.