Skip to content

Commit 7c4550e

Browse files
fix
removing debug code used to verify NetworkTransform is not the only thing within NGO that fails when dropping packets (most likely to occur 20-30% drop rate).
1 parent 6d19ba9 commit 7c4550e

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

com.unity.netcode.gameobjects/Components/NetworkTransform.cs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1081,11 +1081,6 @@ private void Initialize()
10811081
// In case we are late joining
10821082
ResetInterpolatedStateToCurrentAuthoritativeState();
10831083
}
1084-
1085-
if (!IsServer)
1086-
{
1087-
Interpolate = false;
1088-
}
10891084
}
10901085

10911086
/// <summary>
@@ -1232,10 +1227,6 @@ protected virtual void Update()
12321227
{
12331228
return;
12341229
}
1235-
if (!IsServer)
1236-
{
1237-
Interpolate = false;
1238-
}
12391230

12401231
// If we are authority, update the authoritative state
12411232
if (CanCommitToTransform)

0 commit comments

Comments
 (0)