René's URL Explorer Experiment


Title: TimeSyncMessage is sent reliably, so a late one resets the client clock backwards and stalls its NetworkTransforms · Issue #4249 · Unity-Technologies/com.unity.netcode.gameobjects · GitHub

Open Graph Title: TimeSyncMessage is sent reliably, so a late one resets the client clock backwards and stalls its NetworkTransforms · Issue #4249 · Unity-Technologies/com.unity.netcode.gameobjects

X Title: TimeSyncMessage is sent reliably, so a late one resets the client clock backwards and stalls its NetworkTransforms · Issue #4249 · Unity-Technologies/com.unity.netcode.gameobjects

Description: Description TimeSyncMessage is sent reliably, although MessageDelivery says it's meant to stay unreliable. Under packet loss a time sync arrives late. The client takes its old host tick as current, its time offset passes HardResetThresho...

Open Graph Description: Description TimeSyncMessage is sent reliably, although MessageDelivery says it's meant to stay unreliable. Under packet loss a time sync arrives late. The client takes its old host tick as current,...

X Description: Description TimeSyncMessage is sent reliably, although MessageDelivery says it's meant to stay unreliable. Under packet loss a time sync arrives late. The client takes its old host tick as curr...

Opengraph URL: https://github.com/Unity-Technologies/com.unity.netcode.gameobjects/issues/4249

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"TimeSyncMessage is sent reliably, so a late one resets the client clock backwards and stalls its NetworkTransforms","articleBody":"### Description\n\n`TimeSyncMessage` is sent **reliably**, although `MessageDelivery` says it's meant to stay unreliable. Under packet loss a time sync arrives late. The client takes its old host tick as current, its time offset passes `HardResetThresholdSec` (0.2 s by default), and `NetworkTimeSystem` hard-resets the client's clock **backwards**.\n\nAfter that, `NetworkTransformTickRegistration.TickUpdate` skips while `CurrentTick \u003c= m_LastTick`. Every `NetworkTransform` the client owns therefore sends nothing until its clock passes the last tick it sent. Teammates see that player freeze for up to about 0.5 s and then jump.\n\nDetails (line numbers from 2.13.3; the same code is in `develop-3.x.x` today):\n\n- `MessageDelivery.cs`: the summary of `k_SkipMessageTypes` says \"Skip the time sync messages since it has always used unreliable network delivery\". But the set holds only `NamedMessage` and `Unnamed`. So `UpdateMessageTypes` gives `TimeSyncMessage` `ReliableFragmentedSequenced`, and `NetworkTimeSystem` sends it with `MessageDeliveryType\u003cTimeSyncMessage>.DefaultDelivery`.\n- `NetworkTimeSystem`: a sync whose send tick is old by the time it arrives produces a desired offset more than 0.2 s from the current one, so the clock is hard-reset to it, back in time.\n- `NetworkTransform.cs:4765` (`NetworkTransformTickRegistration.TickUpdate`): `if (CurrentTick \u003c= m_LastTick)` with the comment `// TODO FIX: The local NetworkTickSystem can invoke with the same network tick as before`. After a backward reset, this skips every tick until the clock catches up.\n\n### Reproduce Steps\n\n1. Host + 1 client (client-server), with the simulated poor connection on the host: about 75 ms delay, ±20 ms jitter and 2% packet loss.\n2. On the client, log `NetworkManager.ServerTime.Tick` every frame for a few minutes.\n3. Give the client an owner-authoritative `NetworkTransform` that moves continuously, and log on the host when its state updates arrive.\n\n### Actual Outcome\n\nAbout twice a minute the client's `ServerTime.Tick` steps backwards (one example: 568 → 548). The client's `NetworkTransform` sends nothing until its tick passes 568 again, so the host sees it stand still for up to about 0.5 s and then jump.\n\n### Expected Outcome\n\nA delayed time sync doesn't move a client's clock backwards, and its transforms keep sending. Possible fixes:\n- send `TimeSyncMessage` unreliably (add it to `k_SkipMessageTypes`, as the comment intends), so a lost one is replaced by the next a second later instead of arriving late;\n- or ignore a time sync older than the last one applied;\n- and/or let `NetworkTransformTickRegistration` recover from a backward tick (reset `m_LastTick`) instead of skipping until the clock catches up.\n\n### Screenshots\n\nNone. The numbers come from per-frame logs.\n\n### Environment\n\n- OS: Windows 11 Pro\n- Unity Version: 6000.3.27f1\n- Netcode Version: 2.13.3 (also present in `develop-3.x.x` and 3.2.0)\n- Netcode Commit: the v2.13.3 release\n- Netcode Topology: Client-Server (host)\n\n### Additional Context\n\n- Unity Transport 2.7.4.\n- Our workaround: each client raises `NetworkTimeSystem.HardResetThresholdSec` to 1 s when it starts. With that, the backward resets went from about two a minute to none in three minutes under the same conditions.\n","author":{"url":"https://github.com/zchristensen01","@type":"Person","name":"zchristensen01"},"datePublished":"2026-11-10T22:03:55Z","url":"https://github.com/Unity-Technologies/com.unity.netcode.gameobjects/issues/4249"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:66b7c15c-1941-5aa3-d004-1d482a6ecd69
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC670:14B836:DCE484:1281182:6B00550B
html-safe-nonce1efb230ca7ba26b36a0cbe83a0fac8ff91243b31d6619a1fed2716a349ad4353
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNjcwOjE0QjgzNjpEQ0U0ODQ6MTI4MTE4Mjo2QjAwNTUwQiIsInZpc2l0b3JfaWQiOiI3NDgwNzE1MzU2MzgyNzEzMDk5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacf9e83610a214b5b166a995fea6ddd4c4b529ed82273cd7cec1289d748d5dce2d
hovercard-subject-tagissue:6316792910
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/Unity-Technologies/com.unity.netcode.gameobjects/4249/issue_layout
twitter:imagehttps://opengraph.githubassets.com/c3587b6f4efeab37211a3ba4ae9dc16adea501ea204ffdde18343c9d419f93e2/Unity-Technologies/com.unity.netcode.gameobjects/issues/4249
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c3587b6f4efeab37211a3ba4ae9dc16adea501ea204ffdde18343c9d419f93e2/Unity-Technologies/com.unity.netcode.gameobjects/issues/4249
og:image:altDescription TimeSyncMessage is sent reliably, although MessageDelivery says it's meant to stay unreliable. Under packet loss a time sync arrives late. The client takes its old host tick as current,...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamezchristensen01
hostnamegithub.com
expected-hostnamegithub.com
Nonef420f4996e6b1ff1ccd6d7683f8134f4b5f0f8a50124c210dbfe7490e5644abb
turbo-cache-controlno-preview
go-importgithub.com/Unity-Technologies/com.unity.netcode.gameobjects git https://github.com/Unity-Technologies/com.unity.netcode.gameobjects.git
octolytics-dimension-user_id426196
octolytics-dimension-user_loginUnity-Technologies
octolytics-dimension-repository_id116385203
octolytics-dimension-repository_nwoUnity-Technologies/com.unity.netcode.gameobjects
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id116385203
octolytics-dimension-repository_network_root_nwoUnity-Technologies/com.unity.netcode.gameobjects
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release26e00df917aba0f128135dc073ea0c5e33a70d40
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/Unity-Technologies/com.unity.netcode.gameobjects/issues/4249#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FUnity-Technologies%2Fcom.unity.netcode.gameobjects%2Fissues%2F4249
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FUnity-Technologies%2Fcom.unity.netcode.gameobjects%2Fissues%2F4249
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=Unity-Technologies%2Fcom.unity.netcode.gameobjects
Reloadhttps://github.com/Unity-Technologies/com.unity.netcode.gameobjects/issues/4249
Reloadhttps://github.com/Unity-Technologies/com.unity.netcode.gameobjects/issues/4249
Reloadhttps://github.com/Unity-Technologies/com.unity.netcode.gameobjects/issues/4249
Unity-Technologieshttps://github.com/Unity-Technologies
com.unity.netcode.gameobjectshttps://github.com/Unity-Technologies/com.unity.netcode.gameobjects
Codehttps://github.com/Unity-Technologies/com.unity.netcode.gameobjects
Issues35 (35)https://github.com/Unity-Technologies/com.unity.netcode.gameobjects/issues
Pull requests27 (27)https://github.com/Unity-Technologies/com.unity.netcode.gameobjects/pulls
Actionshttps://github.com/Unity-Technologies/com.unity.netcode.gameobjects/actions
Security and qualityhttps://github.com/Unity-Technologies/com.unity.netcode.gameobjects/security
Insightshttps://github.com/Unity-Technologies/com.unity.netcode.gameobjects/insights
https://github.com/Unity-Technologies/com.unity.netcode.gameobjects
New issuehttps://github.com/login?return_to=https://github.com/Unity-Technologies/com.unity.netcode.gameobjects/issues/4249
New issuehttps://github.com/login?return_to=https://github.com/Unity-Technologies/com.unity.netcode.gameobjects/issues/4249
#4253https://github.com/Unity-Technologies/com.unity.netcode.gameobjects/pull/4253
TimeSyncMessage is sent reliably, so a late one resets the client clock backwards and stalls its NetworkTransformshttps://github.com/Unity-Technologies/com.unity.netcode.gameobjects/issues/4249#top
#4253https://github.com/Unity-Technologies/com.unity.netcode.gameobjects/pull/4253
https://github.com/zchristensen01
zchristensen01https://github.com/zchristensen01
on Nov 10, 2026https://github.com/Unity-Technologies/com.unity.netcode.gameobjects/issues/4249#issue-6316792910
Sign up for freehttps://github.com/signup?return_to=https://github.com/Unity-Technologies/com.unity.netcode.gameobjects/issues/4249
Sign in to commenthttps://github.com/login?return_to=https://github.com/Unity-Technologies/com.unity.netcode.gameobjects/issues/4249
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.