diff --git a/Assets/Mirror/Components/NetworkTransformBase.cs b/Assets/Mirror/Components/NetworkTransformBase.cs index ebdd615f0..ea8233759 100644 --- a/Assets/Mirror/Components/NetworkTransformBase.cs +++ b/Assets/Mirror/Components/NetworkTransformBase.cs @@ -252,6 +252,9 @@ public override void OnDeserialize(NetworkReader reader, bool initialState) [Command] void CmdClientToServerSync(byte[] payload) { + // Ignore messages from client if not in client authority mode + if (!clientAuthority) return; + // deserialize payload using (PooledNetworkReader networkReader = NetworkReaderPool.GetReader(payload)) DeserializeFromReader(networkReader);