Skip to content

fix(core): don't smear network time adjustment on initial connection sync. - #313

Merged
TwoTenPvP merged 1 commit into
Unity-Technologies:masterfrom
pkaminski:reset-time-sync
Mar 2, 2020
Merged

fix(core): don't smear network time adjustment on initial connection sync.#313
TwoTenPvP merged 1 commit into
Unity-Technologies:masterfrom
pkaminski:reset-time-sync

Conversation

@pkaminski

@pkaminski pkaminski commented Feb 7, 2020

Copy link
Copy Markdown
Contributor

We need to hard-reset the network time offset every time the client connects, since there's no guarantee that it's connecting to the same server or that the server hasn't restarted. This PR forces a hard sync on connection approval, but retains smearing of any adjustments while the connection remains up.


This change is Reviewable

@pkaminski
pkaminski requested a review from TwoTenPvP as a code owner February 7, 2020 22:21
@TwoTenPvP
TwoTenPvP merged commit b6db47d into Unity-Technologies:master Mar 2, 2020
@MidLevel-Bot

Copy link
Copy Markdown

This pull request is included in version 11.11.0

The release is available to download on GitHub release or in the MLAPI Installer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants