diff --git a/Assets/Mirror/Runtime/Transport/LatencySimulation.cs b/Assets/Mirror/Runtime/Transport/LatencySimulation.cs index a7e24115e..61da89872 100644 --- a/Assets/Mirror/Runtime/Transport/LatencySimulation.cs +++ b/Assets/Mirror/Runtime/Transport/LatencySimulation.cs @@ -87,6 +87,8 @@ void SimulateSend(int connectionId, int channelId, ArraySegment segment, L if (!drop) { // simulate scramble (Random.Next is < max, so +1) + // note that list entries are NOT ordered by time anymore + // after inserting randomly. int last = unreliableQueue.Count; int index = unreliableScramble ? random.Next(0, last + 1) : last;