Jump to content

"OnPlayerInput" Error

Closed 2.3.1 2.3.5

I see some others experienced this but couldn't find any solutions. Here's he lines I can provide.

When I reload the plugin I get this.

(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)
Failed to call hook 'OnPlayerInput' on plugin 'StaticLootables v2.3.1' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.StaticLootables.GetDefinition (System.String reference) [0x0002f] in <c51b0d754ffc44aa81b9846b7b19d777>:0
  at Oxide.Plugins.StaticLootables.GetDefinition (UnityEngine.GameObject reference) [0x00007] in <c51b0d754ffc44aa81b9846b7b19d777>:0
  at Oxide.Plugins.StaticLootables.OnPlayerInput (BasePlayer player, InputState input) [0x00496] in <c51b0d754ffc44aa81b9846b7b19d777>:0
  at Oxide.Plugins.StaticLootables.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x003d9] in <c51b0d754ffc44aa81b9846b7b19d777>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <e23ba2c0f246426296d81c842cbda3af>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <50629aa0e75d4126b345d8d9d64da28d>:0
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <50629aa0e75d4126b345d8d9d64da28d>:0  
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)
Failed to call hook 'OnPlayerInput' on plugin 'StaticLootables v2.3.1' (NullReferenceException: Object reference not set to an instance of an object)
 

Share this comment


Link to comment
6 hours ago, KING SWAT said:

I see some others experienced this but couldn't find any solutions. Here's he lines I can provide.

When I reload the plugin I get this.

(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)
Failed to call hook 'OnPlayerInput' on plugin 'StaticLootables v2.3.1' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.StaticLootables.GetDefinition (System.String reference) [0x0002f] in <c51b0d754ffc44aa81b9846b7b19d777>:0
  at Oxide.Plugins.StaticLootables.GetDefinition (UnityEngine.GameObject reference) [0x00007] in <c51b0d754ffc44aa81b9846b7b19d777>:0
  at Oxide.Plugins.StaticLootables.OnPlayerInput (BasePlayer player, InputState input) [0x00496] in <c51b0d754ffc44aa81b9846b7b19d777>:0
  at Oxide.Plugins.StaticLootables.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x003d9] in <c51b0d754ffc44aa81b9846b7b19d777>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <e23ba2c0f246426296d81c842cbda3af>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <50629aa0e75d4126b345d8d9d64da28d>:0
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <50629aa0e75d4126b345d8d9d64da28d>:0  
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)
Failed to call hook 'OnPlayerInput' on plugin 'StaticLootables v2.3.1' (NullReferenceException: Object reference not set to an instance of an object)
 

Can you please share your config? 🙂 

Share this comment


Link to comment
22 minutes ago, KING SWAT said:

 

You there bud? Sorry, i just am crunched for time as I'm sure you are as well

Hey there! Apologies, I'm back at work now, having a look now

Share this comment


Link to comment

Just realized that you use full paths for the prefab filter, which I adivse you not to. Have a look at the default config in the description to get an idea of what parts of the prefab you wanna add you should use, please.

Share this comment


Link to comment

Can you give me a little more info as to what you mean?AM I to look at one of your videos? Sorry. Not fully understanding.

Share this comment


Link to comment
7 hours ago, KING SWAT said:

Did you update today fix the issue I'm having?

 

Hey, no, that fixed a smaller issue that there was 🙂 Please read the description of the plugin, specifically the Installation part.

Share this comment


Link to comment

Hi,

we have the same problem

Failed to call hook 'OnPlayerInput' on plugin 'StaticLootables v2.3.4' (KeyNotFoundException: The given key was not present in the dictionary.)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <eae584ce26bc40229c1b1aa476bfa589>:0 
  at Oxide.Plugins.StaticLootables.OnPlayerInput (BasePlayer player, InputState input) [0x00d39] in <01bd902ad1ea4df38df9e01251069f22>:0 
  at Oxide.Plugins.StaticLootables.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00385] in <01bd902ad1ea4df38df9e01251069f22>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <e23ba2c0f246426296d81c842cbda3af>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <50629aa0e75d4126b345d8d9d64da28d>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <50629aa0e75d4126b345d8d9d64da28d>:0
(22:44:47) | Failed to call hook 'OnPlayerInput' on plugin 'StaticLootables v2.3.4' (KeyNotFoundException: The given key was not present in the dictionary.)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <eae584ce26bc40229c1b1aa476bfa589>:0 
  at Oxide.Plugins.StaticLootables.OnPlayerInput (BasePlayer player, InputState input) [0x00d39] in <01bd902ad1ea4df38df9e01251069f22>:0 
  at Oxide.Plugins.StaticLootables.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00385] in <01bd902ad1ea4df38df9e01251069f22>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <e23ba2c0f246426296d81c842cbda3af>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <50629aa0e75d4126b345d8d9d64da28d>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <50629aa0e75d4126b345d8d9d64da28d>:0

 

 

StaticLootables.json

Edited by RuGRustServer

Share this comment


Link to comment

This is the error I'm getting as well 
 

Failed to call hook 'OnPlayerInput' on plugin 'StaticLootables v2.3.4' (KeyNotFoundException: The given key was not present in the dictionary.)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <eae584ce26bc40229c1b1aa476bfa589>:0 
  at Oxide.Plugins.StaticLootables.OnPlayerInput (BasePlayer player, InputState input) [0x00d39] in <9fbff720421644988d2c05912ad6ac5c>:0 
  at Oxide.Plugins.StaticLootables.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00385] in <9fbff720421644988d2c05912ad6ac5c>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <e23ba2c0f246426296d81c842cbda3af>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <50629aa0e75d4126b345d8d9d64da28d>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <50629aa0e75d4126b345d8d9d64da28d>:0

 

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.5k

Customers

Total customers served.

78.6k

Files Sold

Total number of files sold.

1.5m

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.