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. 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."
This fixed it. Thank you so much!
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.