[2/10/2020 12:31:55] Failed to call hook 'OnEntitySpawned' on plugin 'MasterLock v1.0.1' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.MasterLock.OnEntitySpawned (BaseNetworkable entity) [0x0012d] in <71bba13cbf62415081c054930ce23ba3>:0
at Oxide.Plugins.MasterLock.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00236] in <71bba13cbf62415081c054930ce23ba3>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <33f7c42a56934dae8ec04b11017dce31>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <b0a93b504f034a0db8b1c3d2503c0987>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <b0a93b504f034a0db8b1c3d2503c0987>:0 NullReferenceException at OnEntitySpawnedFixed
Is this a recurring error, or a one off?
Only saw it twice and not sure what players were doing that caused it although there was some rading going on at the time against a player who did not have their locks setup as the plugin was installed after their last login.
Okay, I will look into adding a check for that problem
Thank you kind sir
I am getting this message as well, it pops up every five to ten mins.
Failed to call hook 'OnEntitySpawned' on plugin 'MasterLock v1.0.1' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.MasterLock.OnEntitySpawned (BaseNetworkable entity) [0x0012d] in <b3f67a95cee84dff92475ffb74b58a60>:0
at Oxide.Plugins.MasterLock.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00236] in <b3f67a95cee84dff92475ffb74b58a60>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <98321e516fc1420ea57d4d2088213a59>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <ac41dd3599754d448b8c218b34645820>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <ac41dd3599754d448b8c218b34645820>:0 Seems to be happening whenever a lock spawns that doesn't have an owner ID such as with copy/paste structures with no ownership retention. Be nice if it got fixed but doesn't seem to stop anything from working so seems safe to ignore.
Okay, I'll add a check for that. It's been a difficult issue to test since I can't reproduce it.
I get it every time a base spawns with Nivex's Radiable Bases plugin for example. Also seem to get the error when someone is raiding a player base and they kill the TC. Hopefully those tidbits help you home in on the issue.
Yeah, the will. Thanks.
CopyPaste Causes this error to appear too.
So, just to update people, I am still looking into this, but am having a big problem narrowing down the issue.
Locked automatically