Getting kicked with rpc errorNot An Issue

I am getting this error when hitting the Top Floor button on an elevator that is 100 floors tall

 

[2025.04.15 04:23:03] [ERRO] Unhandled error occurred (NullReferenceException: Object reference not set to an instance of an object)
at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.ElevatorLift.Server_RaiseLowerFloor_Patch0(ElevatorLift,BaseEntity/RPCMessage)
at ElevatorLift.OnRpcMessage (BasePlayer player, System.UInt32 rpc, Network.Message msg) (at <61d1fa95f1264e9f9b261ea2a797ce72>:0)
at UnityEngine.Debug:LogException(Exception)
at ElevatorLift:OnRpcMessage(BasePlayer, UInt32, Message)
at BaseEntity:SV_RPCMessage(UInt32, Message)
at ServerMgr:OnRPCMessage(Message)
at ServerMgr:OnNetworkMessage(Message)
at Facepunch.Network.Raknet.Server:ProcessRead(NetRead)
at Network.BaseNetwork:Cycle()
at ServerMgr:Update()

I just tested on Oxide and was able to use the Top Floor button on a 100-floor elevator without issue. From the error message, looks like you might be using Carbon, so there might be a bug on the Carbon framework side with how the hook is patched in, so I suggest engaging the Carbon team.

Locked automatically