Jump to content

Failed to call hook 'OnPlayerInput' and NullReferenceException

Fixed 1.4.2 1.4.3

Kobani

Posted

The following message appears sporadically in the console.
 

Failed to call hook 'OnPlayerInput' on plugin 'UltimateLocker v1.4.2' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.UltimateLocker+LockerBehaviour.HandleInput (InputState input) [0x00034] in <2e2420c1f348459f8e0f72e3a89acc76>:0
at Oxide.Plugins.UltimateLocker.OnPlayerInput (BasePlayer player, InputState input) [0x0002b] in <2e2420c1f348459f8e0f72e3a89acc76>:0
at Oxide.Plugins.UltimateLocker.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x007f4] in <2e2420c1f348459f8e0f72e3a89acc76>: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 <d59b507fd76240e5b62228d0eae39b73>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <d59b507fd76240e5b62228d0eae39b73>:0



The second message appears when a lock is removed from the vehicle after I exit it. Tested with Minicopter, Scrap Helicopter, Attack Helicopter, and Bicycle

NullReferenceException: Object reference not set to an instance of an object
  at Oxide.Plugins.UltimateLocker.ShowLockerUI (BasePlayer player, System.Boolean hasAlpha) [0x00044] in <2e2420c1f348459f8e0f72e3a89acc76>:0 
  at Oxide.Plugins.UltimateLocker+LockerBehaviour+<RaycastLoop>d__4.MoveNext () [0x00043] in <2e2420c1f348459f8e0f72e3a89acc76>:0 
  at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00026] in <935634f5cc14479dbaa30641d55600a9>:0 

 

Scalbox

Posted

I know about the problem, I'm already solving it

  • Like 1
Scalbox

Posted

I released an update, let me know if you don't see the error anymore

Kobani

Posted

There are currently no further issues. Should anything come up, I will get back to you. Thanks

Scalbox

Posted

Changed Status from Pending to Fixed

Changed Fixed In to 1.4.3

1.9m

Downloads

Total number of downloads.

8.7k

Customers

Total customers served.

129.9k

Files Sold

Total number of files sold.

2.7m

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.