You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In case that server does not change state when receiving commands it will not send deltas for entities that require command ack and because of that client command buffer will fill and it won't generate new commands which in turn will make server never send deltas and you are stuck :|, i fixed this by alwasys creating deltas for entities with command ack.
So inside RailStateDeltaFactory at line 30 you have bool shouldReturn = forceAllMutable || includeControllerData && current.HasControllerData || includeImmutableData || removedTick.IsValid;
To fix this you need to add "commandAck.IsValid"
So the whole line would look like bool shouldReturn = forceAllMutable || includeControllerData && current.HasControllerData || includeImmutableData || removedTick.IsValid || commandAck.IsValid;
The text was updated successfully, but these errors were encountered:
In case that server does not change state when receiving commands it will not send deltas for entities that require command ack and because of that client command buffer will fill and it won't generate new commands which in turn will make server never send deltas and you are stuck :|, i fixed this by alwasys creating deltas for entities with command ack.
So inside RailStateDeltaFactory at line 30 you have
bool shouldReturn = forceAllMutable || includeControllerData && current.HasControllerData || includeImmutableData || removedTick.IsValid;
To fix this you need to add "commandAck.IsValid"
So the whole line would look like
bool shouldReturn = forceAllMutable || includeControllerData && current.HasControllerData || includeImmutableData || removedTick.IsValid || commandAck.IsValid;
The text was updated successfully, but these errors were encountered: