diff --git a/Assets/Mirror/Core/NetworkIdentity.cs b/Assets/Mirror/Core/NetworkIdentity.cs index b1c12d775..5a841ae9f 100644 --- a/Assets/Mirror/Core/NetworkIdentity.cs +++ b/Assets/Mirror/Core/NetworkIdentity.cs @@ -229,6 +229,10 @@ public Visibility visible observersWriter = new NetworkWriter() }; + // unreliable state sync messages may arrive out of order, or duplicated. + // keep latest received timestamp so we don't apply older messages. + internal double lastUnreliableStateTime; + // Keep track of all sceneIds to detect scene duplicates static readonly Dictionary sceneIds = new Dictionary();