Skip to content

Commit cc00f3f

Browse files
fix
This resolves issue #3571.
1 parent 978e846 commit cc00f3f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3003,7 +3003,7 @@ private void ApplyTeleportingState(NetworkTransformState newState)
30033003
/// <remarks>
30043004
/// Only non-authoritative instances should invoke this
30053005
/// </remarks>
3006-
private void ApplyUpdatedState(NetworkTransformState newState)
3006+
internal void ApplyUpdatedState(NetworkTransformState newState)
30073007
{
30083008
// Set the transforms's synchronization modes
30093009
InLocalSpace = newState.InLocalSpace;
@@ -3052,6 +3052,7 @@ private void ApplyUpdatedState(NetworkTransformState newState)
30523052

30533053
if (!Interpolate)
30543054
{
3055+
ApplyAuthoritativeState();
30553056
return;
30563057
}
30573058

0 commit comments

Comments
 (0)