Jump to content

NullReferenceException

Closed 1.0.7 1.0.8

0g.Ghost.7373

Posted

Couldn't find prefab "assets/rust.ai/agents/wolf/wolf.prefab"
Failed to call hook 'CanLootEntity' on plugin 'AnimalBoxes v1.0.7' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.AnimalBoxes.CanLootEntity (BasePlayer player, LootContainer container) [0x00220] in <a1a59332e1e541daa042b2579bba9084>:0 
  at Oxide.Plugins.AnimalBoxes.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x001ed] in <a1a59332e1e541daa042b2579bba9084>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <42f9bedc659b4f4786eb778d3cd58968>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <15f61ddda771464d8246ebdce8ff4811>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <15f61ddda771464d8246ebdce8ff4811>:0 
Couldn't find prefab "assets/rust.ai/agents/wolf/wolf.prefab"
Failed to call hook 'CanLootEntity' on plugin 'AnimalBoxes v1.0.7' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.AnimalBoxes.CanLootEntity (BasePlayer player, LootContainer container) [0x00220] in <a1a59332e1e541daa042b2579bba9084>:0 
  at Oxide.Plugins.AnimalBoxes.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x001ed] in <a1a59332e1e541daa042b2579bba9084>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <42f9bedc659b4f4786eb778d3cd58968>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <15f61ddda771464d8246ebdce8ff4811>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <15f61ddda771464d8246ebdce8ff4811>:0 

 

ThePitereq

Posted

On 6/8/2026 at 7:02 AM, 0g.Ghost.7373 said:
Couldn't find prefab "assets/rust.ai/agents/wolf/wolf.prefab"
Failed to call hook 'CanLootEntity' on plugin 'AnimalBoxes v1.0.7' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.AnimalBoxes.CanLootEntity (BasePlayer player, LootContainer container) [0x00220] in <a1a59332e1e541daa042b2579bba9084>:0 
  at Oxide.Plugins.AnimalBoxes.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x001ed] in <a1a59332e1e541daa042b2579bba9084>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <42f9bedc659b4f4786eb778d3cd58968>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <15f61ddda771464d8246ebdce8ff4811>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <15f61ddda771464d8246ebdce8ff4811>:0 
Couldn't find prefab "assets/rust.ai/agents/wolf/wolf.prefab"
Failed to call hook 'CanLootEntity' on plugin 'AnimalBoxes v1.0.7' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.AnimalBoxes.CanLootEntity (BasePlayer player, LootContainer container) [0x00220] in <a1a59332e1e541daa042b2579bba9084>:0 
  at Oxide.Plugins.AnimalBoxes.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x001ed] in <a1a59332e1e541daa042b2579bba9084>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <42f9bedc659b4f4786eb778d3cd58968>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <15f61ddda771464d8246ebdce8ff4811>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <15f61ddda771464d8246ebdce8ff4811>:0 

 

Hey! Your config contains old wolf prefab which got removed from game.
Replace it with 

assets/rust.ai/agents/wolf/wolf2.prefab

 

  • Like 1
ThePitereq

Posted

Changed Status from Pending to Closed
Changed Fixed In from Not set to Next Version

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
3.3m
Total downloads
Customers
12.4k
Customers served
Files Sold
175.4k
Total sales
Payments
3.8m
Processed total
×
×
  • 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.