Jump to content

OnCollectiblePickup error

No Response 3.0.4


Been getting this same error randomly.


Failed to call hook 'OnCollectiblePickup' on plugin 'RustRewards v3.0.4' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.RustRewards.OnCollectiblePickup (Item item, BasePlayer player, CollectibleEntity entity) [0x00064] in :0 at Oxide.Plugins.RustRewards.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0058c] in :0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in :0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in :0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in :0

  • Like 1
Link to comment
  • Administrator

Can you unload the plugin the open your /config/RustRewards.json and check it's as it should be?

It might be a legit error, but I've had a few 'Failed to call hook...' which were actually the result of config file becoming null.
Not sure why, yet.

Link to comment

okay I unloaded my gather plugin and then the RustRewards error went away. I'll message you in your discord to see about a solution

Link to comment

Not sure how to change the title or tags on the post, but if there are any admins/mods around, please close this thread. The issue I'm having is not originating from RustRewards.

Link to comment
  • Administrator

Glad you've found it's coming from elsewhere, although RustRewards shouldn't throw an error regardless.
If an item or player is null it should silently handle that - I'm not seeing how OnCollectiblePickup can NRE, but I'll take a closer look at it.

Thanks for the info.

Link to comment


Total number of downloads.



Total customers served.


Files Sold

Total number of files sold.


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.