Merged post
I think I figured it out! It has to do with the radiation feature being visible or not. If you leave it disabled, then no errors ^_^
Failed to call hook 'OnEntitySpawned' on plugin 'InfoPanel v0.9.9' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.InfoPanel.OnEntitySpawned (BaseEntity Entity) [0x000cc] in <c5dcd32eea0b4af4a9fe85bbf1193ad9>:0
at Oxide.Plugins.InfoPanel.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0063e] in <c5dcd32eea0b4af4a9fe85bbf1193ad9>: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
[Info("InfoPanel", "Ghosst / Nogrod / TeaPack", "1.0.0")]#region DefaultConfigsprivate static string DefaultFontColor = "1 1 1 1";public bool startedup = false;#endregionif (ActiveCargoships.Count > 0){CheckCargoship();}else{Cargoship.Refresh(storedData, PlayerPanels);}startedup = true;}private void OnEntitySpawned(BaseEntity Entity){if (startedup == false) return;if (Entity == null) return;Failed to call hook 'OnEntitySpawned' on plugin 'InfoPanel v0.9.9' (NullReferenc
eException: Object reference not set to an instance of an object)
at Oxide.Plugins.InfoPanel.OnEntitySpawned (BaseEntity Entity) [0x000cc] in <d
4dd2eb6095249d284ddddb84ed3536b>:0
at Oxide.Plugins.InfoPanel.DirectCallHook (System.String name, System.Object&
ret, System.Object[] args) [0x0063e] in <d4dd2eb6095249d284ddddb84ed3536b>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod meth
od, 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[] arg
s) [0x00060] in <4452f821def6406d834e4149849fe7ea>:0Unloaded it, reloaded it and it's seems to load in fine?
InfoPanel was compiled successfully in 2082ms
Unloaded plugin InfoPanel v0.9.9 by Ghosst / Nogrod
Calling 'OnServerInitialized' on 'InfoPanel v0.9.9' took 206ms
Loaded plugin InfoPanel v0.9.9 by Ghosst / Nogrod
(11:54:25) | Failed to call hook 'OnEntitySpawned' on plugin 'InfoPanel v0.9.9' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.InfoPanel.OnEntitySpawned (BaseEntity Entity) [0x000cc] in <ea2e3bf2f82b4af09a677e80eec06913>:0
at Oxide.Plugins.InfoPanel.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0063e] in <ea2e3bf2f82b4af09a677e80eec06913>: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
This happens after the server restarts. But the plugin itself works fine.
| Failed to call hook 'OnEntitySpawned' on plugin 'InfoPanel v0.9.9' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.InfoPanel.OnEntitySpawned (BaseEntity Entity) [0x000cc] in <948cfc99ca2941c98cd88b111e7fee94>:0
at Oxide.Plugins.InfoPanel.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0063e] in <948cfc99ca2941c98cd88b111e7fee94>: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
(12:01:22) | done.
Failed to call hook 'OnEntitySpawned' on plugin 'InfoPanel v0.9.9' (KeyNotFoundException: The given key was not present in the dictionary.) at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in :0
at Oxide.Plugins.InfoPanel.OnEntitySpawned (BaseEntity Entity) [0x000b8] in <2f4a7879eec246c9aa78ce13550ac643>:0
at Oxide.Plugins.InfoPanel.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0063e] in <2f4a7879eec246c9aa78ce13550ac643>: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
Getting Errors with the solution from tea. Can you post the running script?


In response to shturval ():Error to console.
recently did not change anything in the plugin. and today when the server is...
open your InfoPanel.cs plugin with notpad++ and remove all and past this and no more errors.
Moderator edit: Please do not post random versions of plugins on the forums, thanks.