Multiple updates in a single tick multiplayer

Hi. Once I load the game after pressing “Host” and move the player I repeatedly receive this log error:

How can i solve it?

Hi there,
Another student solved this with the following fix:

"Try this in ClientNetworkTransform.cs:

override protected void Update()
{
    CanCommitToTransform = IsOwner;
    base.Update();
    if (!IsHost && NetworkManager != null && NetworkManager.IsConnectedClient && CanCommitToTransform)
    {
        TryCommitTransformToServer(transform, NetworkManager.LocalTime.Time);
    }
}

You don’t have to commit transform if client is server."

1 Like

This fixed it. Thank you so much! :grin:

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms