Jump to content

Compatibility with

Pending 2.2.8

RustyFarians

Posted

Hi,

I think there might be a compatibility issue between this plugin and the Player Challenges plugin on Umod  (https://umod.org/plugins/player-challenges).   We're getting the following error with that plugin which I think is caused by the way this plugin handles gathering:

Failed to call hook 'OnCollectiblePickup' on plugin 'PlayerChallenges v2.0.52' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.PlayerChallenges.OnCollectiblePickup (CollectibleEntity collectible, BasePlayer player) [0x0005d] in <c7f6c7a77374486b9ece126aea7d67f1>:0

at Oxide.Plugins.PlayerChallenges.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00d1b] in <c7f6c7a77374486b9ece126aea7d67f1>: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

 

I'm wondering if you're able to confirm whether it is a compatibility issue and whether it's possible to resolve the clash. The other plugin isn't being regularly updated but it works when this one isn't loaded.

The_Kiiiing

Posted

This is in fact a compatibility issue. If you have a custom gathering confiugration in Loottable, the plugin sets the item list of the entity you want to gather from to null to prevent the vanilla gathering mechanisms.

Here is a fixed version that should work with Loottable (didn't test it)PlayerChallenges.cs

VENIQQ

Posted

  • I'm on latest version and still receive these errors.
  • I don't use abovementioned plugin
  • I don't have any custom loot added to collectible pickups as well - so wondering why this keeps popping up

14/03/2026 02:15:23 | Failed to call hook 'OnCollectiblePickup' on plugin 'Loottable v2.2.9' (NullReferenceException: Object reference not set to an instance of an object.)
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00107] in <15f61ddda771464d8246ebdce8ff4811>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <15f61ddda771464d8246ebdce8ff4811>:0

14/03/2026 02:15:23 | Failed to call hook 'OnCollectiblePickup' on plugin 'Loottable v2.2.9' (NullReferenceException: Object reference not set to an instance of an object.)
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00107] in <15f61ddda771464d8246ebdce8ff4811>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <15f61ddda771464d8246ebdce8ff4811>:0

14/03/2026 02:15:13 | Failed to call hook 'OnCollectiblePickup' on plugin 'Loottable v2.2.9' (NullReferenceException: Object reference not set to an instance of an object.)
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00107] in <15f61ddda771464d8246ebdce8ff4811>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <15f61ddda771464d8246ebdce8ff4811>:0

14/03/2026 02:15:13 | Failed to call hook 'OnCollectiblePickup' on plugin 'Loottable v2.2.9' (NullReferenceException: Object reference not set to an instance of an object.)
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00107] in <15f61ddda771464d8246ebdce8ff4811>:0

The_Kiiiing

Posted

On 3/16/2026 at 9:34 AM, VENIQQ said:
  • I'm on latest version and still receive these errors.
  • I don't use abovementioned plugin
  • I don't have any custom loot added to collectible pickups as well - so wondering why this keeps popping up

14/03/2026 02:15:23 | Failed to call hook 'OnCollectiblePickup' on plugin 'Loottable v2.2.9' (NullReferenceException: Object reference not set to an instance of an object.)
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00107] in <15f61ddda771464d8246ebdce8ff4811>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <15f61ddda771464d8246ebdce8ff4811>:0

14/03/2026 02:15:23 | Failed to call hook 'OnCollectiblePickup' on plugin 'Loottable v2.2.9' (NullReferenceException: Object reference not set to an instance of an object.)
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00107] in <15f61ddda771464d8246ebdce8ff4811>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <15f61ddda771464d8246ebdce8ff4811>:0

14/03/2026 02:15:13 | Failed to call hook 'OnCollectiblePickup' on plugin 'Loottable v2.2.9' (NullReferenceException: Object reference not set to an instance of an object.)
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00107] in <15f61ddda771464d8246ebdce8ff4811>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <15f61ddda771464d8246ebdce8ff4811>:0

14/03/2026 02:15:13 | Failed to call hook 'OnCollectiblePickup' on plugin 'Loottable v2.2.9' (NullReferenceException: Object reference not set to an instance of an object.)
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00107] in <15f61ddda771464d8246ebdce8ff4811>:0

Do you have any other plugins installed to modify gathering? Does this happen with every collectible entity or only certain ones?

VENIQQ

Posted

6 hours ago, The_Kiiiing said:

Do you have any other plugins installed to modify gathering? Does this happen with every collectible entity or only certain ones?

SkillTree probably hooks into OnCollectiblePickup, not sure if any other plugin does. It doesn't happen for all collectibles and I haven't tested which ones exactly are causing this

The_Kiiiing

Posted

Could you please test with which collectibles this error happens. Can you please also test without SkillTree?

2.3m

Downloads

Total number of downloads.

10.7k

Customers

Total customers served.

154.2k

Files Sold

Total number of files sold.

3.3m

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.