NullReferenceException at LastRecordTimeError
Failed to call hook 'Unload' on plugin 'PlayerInformations v1.2.11' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.PlayerInformations.LastRecordTime (System.String steamid) [0x00000] in :0 at Oxide.Plugins.PlayerInformations.TimePlayed (System.String steamid) [0x00007] in :0 at Oxide.Plugins.PlayerInformations.EndRecordTime (System.String steamid) [0x00012] in :0 at Oxide.Plugins.PlayerInformations.EndRecordTimeAll () [0x00024] in :0 at Oxide.Plugins.PlayerInformations.Unload () [0x0000a] in :0 at Oxide.Plugins.PlayerInformations.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00dbf] in :0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <4452f821def6406d834e4149849fe7ea>:0
What storage method are you using and is this every unload?
In response to austinv900 ():
What storage method are you using and is this every unload?
mysql
09:54 [Error] Failed to call hook 'Unload' on plugin 'PlayerInformations v1.2.11' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.PlayerInformations.LastRecordTime (System.String steamid) [0x00000] in <5699c443f9744f828211cb3ffca4fb74>:0 
  at Oxide.Plugins.PlayerInformations.TimePlayed (System.String steamid) [0x00007] in <5699c443f9744f828211cb3ffca4fb74>:0 
  at Oxide.Plugins.PlayerInformations.EndRecordTime (System.String steamid) [0x00012] in <5699c443f9744f828211cb3ffca4fb74>:0 
  at Oxide.Plugins.PlayerInformations.EndRecordTimeAll () [0x00024] in <5699c443f9744f828211cb3ffca4fb74>:0 
  at Oxide.Plugins.PlayerInformations.Unload () [0x0000a] in <5699c443f9744f828211cb3ffca4fb74>:0 
  at Oxide.Plugins.PlayerInformations.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00dbf] in <5699c443f9744f828211cb3ffca4fb74>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <4452f821def6406d834e4149849fe7ea>:0 


Merged post

sqlite for me
[Error] Failed to call hook 'Unload' on plugin 'PlayerInformations v1.2.13' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.PlayerInformations.LastRecordTime (System.String steamid) [0x00000] in <b8087f1064b0403c9b00fc4283362090>:0 
  at Oxide.Plugins.PlayerInformations.TimePlayed (System.String steamid) [0x00007] in <b8087f1064b0403c9b00fc4283362090>:0 
  at Oxide.Plugins.PlayerInformations.EndRecordTime (System.String steamid) [0x00012] in <b8087f1064b0403c9b00fc4283362090>:0 
  at Oxide.Plugins.PlayerInformations.EndRecordTimeAll () [0x00024] in <b8087f1064b0403c9b00fc4283362090>:0 
  at Oxide.Plugins.PlayerInformations.Unload () [0x0000a] in <b8087f1064b0403c9b00fc4283362090>:0 
  at Oxide.Plugins.PlayerInformations.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00dbf] in <b8087f1064b0403c9b00fc4283362090>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <d09a1f46ca2f4432811bcfe45ad13c7b>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <cf88a28c7fb44d36890d85a78331cc9d>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <cf88a28c7fb44d36890d85a78331cc9d>:0 


Merged post

text based: Option 0
5f22c50c83af4.jpg RuffKez
[Error] Failed to call hook 'Unload' on plugin 'PlayerInformations v1.2.13' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.PlayerInformations.LastRecordTime (System.String steamid) [0x00000] in <b8087f1064b0403c9b00fc4283362090>:0 
  at Oxide.Plugins.PlayerInformations.TimePlayed (System.String steamid) [0x00007] in <b8087f1064b0403c9b00fc4283362090>:0 
  at Oxide.Plugins.PlayerInformations.EndRecordTime (System.String steamid) [0x00012] in <b8087f1064b0403c9b00fc4283362090>:0 
  at Oxide.Plugins.PlayerInformations.EndRecordTimeAll () [0x00024] in <b8087f1064b0403c9b00fc4283362090>:0 
  at Oxide.Plugins.PlayerInformations.Unload () [0x0000a] in <b8087f1064b0403c9b00fc4283362090>:0 
  at Oxide.Plugins.PlayerInformations.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00dbf] in <b8087f1064b0403c9b00fc4283362090>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <d09a1f46ca2f4432811bcfe45ad13c7b>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <cf88a28c7fb44d36890d85a78331cc9d>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <cf88a28c7fb44d36890d85a78331cc9d>:0 


Merged post

text based: Option 0

Should be resolved now. If it's still happening it's most likely due to PlayerDatabase not being available at the time of being unloaded.

Thank you very much for the quick response and your work for this plugin! Much appreciated!
5f22c50c83af4.jpg RuffKez
Thank you very much for the quick response and your work for this plugin! Much appreciated!
Not a problem. Did it end up working?
Haven't tested it yet but its loaded. I'll report once I restarted my server
5f22c50c83af4.jpg RuffKez
Haven't tested it yet but its loaded. I'll report once I restarted my server
Gotcha
Failed to call hook 'Unload' on plugin 'PlayerInformations v1.2.14' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.PlayerInformations.LastRecordTime (System.String steamid) [0x00000] in <aa91badf8ac4401a83b1b27081346487>:0

  at Oxide.Plugins.PlayerInformations.TimePlayed (System.String steamid) [0x00007] in <aa91badf8ac4401a83b1b27081346487>:0

  at Oxide.Plugins.PlayerInformations.EndRecordTime (System.String steamid) [0x00012] in <aa91badf8ac4401a83b1b27081346487>:0

  at Oxide.Plugins.PlayerInformations.EndRecordTimeAll () [0x00024] in <aa91badf8ac4401a83b1b27081346487>:0

  at Oxide.Plugins.PlayerInformations.Unload () [0x0000a] in <aa91badf8ac4401a83b1b27081346487>:0

  at Oxide.Plugins.PlayerInformations.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00dbf] in <aa91badf8ac4401a83b1b27081346487>:0

  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <31122a27a2414cd799150f8677cf39d4>:0

  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <0fbce81d88d64454b3e7abb24df7026b>:0

  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <0fbce81d88d64454b3e7abb24df7026b>:0