NullReferenceException in CanMountEntitySolved
Failed to call hook 'CanMountEntity' on plugin 'VehicleDeployedLocks v1.8.1' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.VehicleDeployedLocks.CanMountEntity (BasePlayer player, BaseMountable entity) [0x00013] in <21e9d5908e4f41f0b9e20ead15d7f14d>:0
at Oxide.Plugins.VehicleDeployedLocks.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00845] in <21e9d5908e4f41f0b9e20ead15d7f14d>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bae5f1223fce49c493b01571c99dce02>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bae5f1223fce49c493b01571c99dce02>:0

Please Help

  • How often is this happening?
  • Can you determine for which vehicle types this is happening?
  • Can you determine for which specific vehicles this is happening?
Glancing at the code, I think this is only possible if a player tries to mount a car seat that is not part of an actual car module. I estimate that could only happen for custom vehicles. Do you have any plugins that introduce custom vehicles? For example, biplanes, space ships, gyrocopters, etc.
it happens at different times, sometimes more than 20 an hour and sometimes almost none. I'll watch and try some things. I'll let you know if I find anything. I don't use mods that affect this.
It happens when someone gets into the taxi module, which is used as a cable car. I think I have to tell the creator. Thanks
Locked automatically