Jump to content

Error

Closed 2.5.5

Bones64Z
Bones64Z

Posted

I keep getting the following error:   Any idea why?

NpcSpawn v2.5.5: Failed to call hook SpawnNpc(UnityEngine.Vector3, Newtonsoft.Json.Linq.JObject):
System.NullReferenceException: Object reference not set to an instance of an object
  at Oxide.Plugins.NpcSpawn+CustomScientistNpc.UpdateInventory () [0x00149] in <300547e8c9b142fcbb206e8bf33e1da8>:0 
  at Oxide.Plugins.NpcSpawn+CustomScientistNpc.ServerInit () [0x00182] in <300547e8c9b142fcbb206e8bf33e1da8>:0 
  at BaseNetworkable.Spawn () [0x00035] in <db3360bb83824ed1831e0b293cb12ebe>:0 
  at BaseEntity.Spawn () [0x00000] in <db3360bb83824ed1831e0b293cb12ebe>:0 
  at Oxide.Plugins.NpcSpawn.CreateCustomNpc (UnityEngine.Vector3 position, Oxide.Plugins.NpcSpawn+NpcConfig config) [0x00077] in <300547e8c9b142fcbb206e8bf33e1da8>:0 
  at Oxide.Plugins.NpcSpawn.SpawnNpc (UnityEngine.Vector3 position, Newtonsoft.Json.Linq.JObject configJson) [0x00007] in <300547e8c9b142fcbb206e8bf33e1da8>:0 
  at Oxide.Plugins.NpcSpawn.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00051] in <300547e8c9b142fcbb206e8bf33e1da8>:0 
  at OxidePerfCounter.main.HookPerformance (Oxide.Core.Plugins.HookMethod method, System.Object[] args, Oxide.Plugins.CSharpPlugin __instance, System.Object& __result) [0x0009c] in <b3fa7a63aa764ffb9f048e13be62c298>:0 

KpucTaJl

Posted

Hi, the error says that an error occurred when some NPC took clothes for himself. Most likely there is a configuration error for clothes for this npc

Bones64Z

Posted

I am using Better Npc, so this might be related to that. I do have a few Talking Npc's that use a kit, but not ScientistNpc.

I'll look into it.,

Thanks.

Jbird

Posted

It references NpcSpawn @Bones64Z so it is definitely BetterNpc or another plugin that uses it.

Try reloading BetterNpc with the full loading messages enabled and see if you get an error there.

KpucTaJl

Posted

Changed Status from Pending to Closed

1.7m

Downloads

Total number of downloads.

7.2k

Customers

Total customers served.

108.2k

Files Sold

Total number of files sold.

2.2m

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.