MissingFieldException: Field not found: PlayerInventory .BasePlayer.inventory Due to: Could not find field in class
09.07 08:20:26[Server]INFO MissingFieldException: Field not found: PlayerInventory .BasePlayer.inventory Due to: Could not find field in class
09.07 08:20:26[Server]INFO at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.VendingMachine.BuyItem_Patch1(VendingMachine,BaseEntity/RPCMessage)
09.07 08:20:26[Server]INFO at VendingMachine.OnRpcMessage (BasePlayer player, System.UInt32 rpc, Network.Message msg) [0x000f6] in <d5d08555087c4869b6f63a5e52ecf557>:0
09.07 08:20:26[Server]INFO UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
09.07 08:20:26[Server]INFO UnityEngine.DebugLogHandler:LogException(Exception, Object)
09.07 08:20:26[Server]INFO UnityEngine.Logger:LogException(Exception, Object)
09.07 08:20:26[Server]INFO UnityEngine.Debug:LogException(Exception)
09.07 08:20:26[Server]INFO VendingMachine:OnRpcMessage(BasePlayer, UInt32, Message)
09.07 08:20:26[Server]INFO BaseEntity:SV_RPCMessage(UInt32, Message)
09.07 08:20:26[Server]INFO ServerMgr:OnRPCMessage(Message)
09.07 08:20:26[Server]INFO ServerMgr:OnNetworkMessage(Message)
09.07 08:20:26[Server]INFO Facepunch.Network.Raknet.Server:ProcessRead(NetRead)
09.07 08:20:26[Server]INFO Network.BaseNetwork:Cycle()
09.07 08:20:26[Server]INFO ServerMgr:Update()
09.07 08:20:26[Server]INFO *.*.*.*:49373/PlayerID/PlayerName kicked: RPC Error in BuyItem
Check all my plugins so far, getting error from vending machines
when they buy it from a vendingmachine, it kicks them, but they can buy it from the marketplace atm. i did have a vending plugin but i removed it but still happening.
Make sure you update all plugins and mods, including harmony mods like RustServerMetrics
im going to remove a mod from harmony, it just leave one mod left and serervermetrics, I dont use, its from shockbyte console. i hide the player name for what ever and player id, that why it look weird.
Merged post
just getting rid of instant vending fix it. nothing else wrong or errors for kicked error RPC in buyitem