Jump to content

unload hook error

Closed 1.3.6

OneCubixMeterofAltosd

Posted

On unloading the plugin --- 

Failed to call hook 'Unload' on plugin 'MyTugBoat v1.3.6' (NullReferenceException: )
  at (wrapper managed-to-native) UnityEngine.Component.GetComponentFastPath(UnityEngine.Component,System.Type,intptr)
  at UnityEngine.Component.GetComponent[T] () [0x00021] in <935634f5cc14479dbaa30641d55600a9>:0 
  at Oxide.Plugins.MyTugBoat.Unload () [0x0001a] in <a4b459ca0ca8445abac3874285accdd4>:0 
  at Oxide.Plugins.MyTugBoat.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x003e2] in <a4b459ca0ca8445abac3874285accdd4>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9c80d821d00a44c9a24497c73ad2d20d>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <d646191a355d43a6b3ab36b7ee14c740>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <d646191a355d43a6b3ab36b7ee14c740>:0 

errors on server reboot /unloading

NooBlet

Posted (edited)

 [My TugBoat] DayData saved

do you see this before the error?

if not it can be a corrupt data file ...

my suggestion is to delete all files from mytugboat files (cs file , data file and config and lang). and then reinstall just the cs file to generate new data file . and see if that works . remember to backup your config . bc this will then generate default config settings

 

 

Edited by NooBlet
NooBlet

Posted

no that just gives me more info . on why the null happens on reload . as there is 2 reasons for it .... a helicopter that has a bad component deletion or corupted data reading player tugs

 

NooBlet

Posted

but its possible there is a helicopter That the dock component didnt destroyed properly . so then that error will occur  , , as soon as the heli breaks the error will stop ... sometime with server restarts or unexpected shutdowns . it breaks these components .. its rare but have seen it before

 

NooBlet

Posted

ill leave this open for a day or so 

NooBlet

Posted

Changed Status from Pending to Closed

1.7m

Downloads

Total number of downloads.

7.9k

Customers

Total customers served.

119.1k

Files Sold

Total number of files sold.

2.4m

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.