René's URL Explorer Experiment


Title: NetworkTransform: half-float base update dropped as out of order when UseUnreliableDeltas is on, so later deltas decode ~2 m off · Issue #4248 · Unity-Technologies/com.unity.netcode.gameobjects · GitHub

Open Graph Title: NetworkTransform: half-float base update dropped as out of order when UseUnreliableDeltas is on, so later deltas decode ~2 m off · Issue #4248 · Unity-Technologies/com.unity.netcode.gameobjects

X Title: NetworkTransform: half-float base update dropped as out of order when UseUnreliableDeltas is on, so later deltas decode ~2 m off · Issue #4248 · Unity-Technologies/com.unity.netcode.gameobjects

Description: Description With UseHalfFloatPrecision and UseUnreliableDeltas both on, a non-authority NetworkTransform can lose a half-float base update and then decode every following delta against the old base. The object is drawn about 2 m off (one...

Open Graph Description: Description With UseHalfFloatPrecision and UseUnreliableDeltas both on, a non-authority NetworkTransform can lose a half-float base update and then decode every following delta against the old base...

X Description: Description With UseHalfFloatPrecision and UseUnreliableDeltas both on, a non-authority NetworkTransform can lose a half-float base update and then decode every following delta against the old base...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"NetworkTransform: half-float base update dropped as out of order when UseUnreliableDeltas is on, so later deltas decode ~2 m off","articleBody":"### Description\n\nWith `UseHalfFloatPrecision` and `UseUnreliableDeltas` both on, a non-authority `NetworkTransform` can lose a half-float base update and then decode every following delta against the old base. The object is drawn about 2 m off (one `MaxDeltaBeforeAdjustment` step) until the next unreliable frame sync, up to a second later.\n\nHow it happens (line numbers from 2.13.3; the same code is in `develop-3.x.x` today):\n\n1. When an axis's delta reaches `NetworkDeltaPosition.MaxDeltaBeforeAdjustment` (2 m), the delta collapses into a new base. That state is flagged `SynchronizeBaseHalfFloat` and sent **reliably** (`NetworkTransformState.NetworkSerialize`, `NetworkTransform.cs:739-747`: `UseHalfFloatPrecision && NetworkDeltaPosition.CollapsedDeltaIntoBase` → `ReliableSequenced = true`).\n2. The deltas that follow go **unreliably**. Under jitter or a lost packet, a newer unreliable delta can arrive before the reliable base update.\n3. When the base update then arrives, it has an older tick than the state already applied. `OnNetworkStateChanged` drops it (`NetworkTransform.cs:3326`):\n   ```csharp\n   if (UseUnreliableDeltas && oldState.NetworkTick > newState.NetworkTick && !newState.FlagStates.IsTeleportingNextFrame && !newState.FlagStates.UnreliableFrameSync)\n   {\n       return;\n   }\n   ```\n   Teleports and frame syncs are exempt, but a base sync isn't.\n4. The non-authority's `NetworkDeltaPosition` keeps the old base, so every later half-float delta decodes about 2 m off until a frame sync corrects it.\n\n### Reproduce Steps\n\n1. A player prefab with an owner-authoritative `NetworkTransform`: `UseHalfFloatPrecision` on, `UseUnreliableDeltas` on, position synced on all axes, interpolation on.\n2. Host + 1 client (client-server). Simulate a poor connection on the host: about 75 ms delay with ±20 ms jitter and 2% packet loss (Unity Transport's simulator pipeline, or the Multiplayer Tools network simulator).\n3. The client walks in a straight line at about 4.5 m/s for 20–30 s.\n4. On the host, compare its copy of the client's player with the client's real position (log both every frame).\n\n### Actual Outcome\n\nThe host's copy usually trails by about 0.6 m, but every few seconds it jumps 2 m or more off for up to a second. In our measurements it was 2.5–4.6 m behind during those stretches. Logging `NetworkDeltaPosition` on both sides during one of them: the host's base on the walking axis was 4.17 m while the client's was 6.25 m (one 2 m step plus the delta).\n\n### Expected Outcome\n\nA late base update is still applied (at least its base), so later deltas decode against the right base. Two possible fixes:\n- exempt `SynchronizeBaseHalfFloat` states from the out-of-order rule, as teleports and frame syncs are;\n- or apply the base of a dropped state to `NetworkDeltaPosition` even when its position is ignored.\n\n### Screenshots\n\nNone. The numbers above 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: the same check is at `NetworkTransform.cs:3345` there)\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- With full-precision positions (half floats off, unreliable deltas kept) the host's copy stays within 0.82 m over the same walk, so the drops come from the base sync.\n- Our workaround: never combine half floats with unreliable deltas on a `NetworkTransform`.\n- Earlier half-float fixes (#2791, #2922) don't cover this ordering case, as far as we can tell.\n","author":{"url":"https://github.com/zchristensen01","@type":"Person","name":"zchristensen01"},"datePublished":"2026-11-10T22:03:54Z","url":"https://github.com/Unity-Technologies/com.unity.netcode.gameobjects/issues/4248"}

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:236b287c-5204-2300-8085-02b016c6371e
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD258:B4AA0:518389:71A482:6B00736D
html-safe-nonceecb1f845a34321a96cea60a160407e64377c2b744d89c91c8ca2cda4cc1aac24
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMjU4OkI0QUEwOjUxODM4OTo3MUE0ODI6NkIwMDczNkQiLCJ2aXNpdG9yX2lkIjoiNzA1ODQyMDg2MTczNjM1MDU3MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac497f2a0993c2c547381059a2e85d38e68a38cf0b4137d949ea3c489c3f19c566
hovercard-subject-tagissue:6316792604
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/4248/issue_layout
twitter:imagehttps://opengraph.githubassets.com/1bf0d811708c7db8d17a440d1eb5bea22e6cbad5e9ed7ce53b10c75bbf5ec769/Unity-Technologies/com.unity.netcode.gameobjects/issues/4248
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1bf0d811708c7db8d17a440d1eb5bea22e6cbad5e9ed7ce53b10c75bbf5ec769/Unity-Technologies/com.unity.netcode.gameobjects/issues/4248
og:image:altDescription With UseHalfFloatPrecision and UseUnreliableDeltas both on, a non-authority NetworkTransform can lose a half-float base update and then decode every following delta against the old base...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamezchristensen01
hostnamegithub.com
expected-hostnamegithub.com
None75c2b65dd205f26961d0c29afed1a8d0bb7cca9f05780571dfd1ef93eb539d16
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
release84e563eb4b55f8fa102f325f117533cee9e3df4a
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/Unity-Technologies/com.unity.netcode.gameobjects/issues/4248#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%2F4248
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%2F4248
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/4248
Reloadhttps://github.com/Unity-Technologies/com.unity.netcode.gameobjects/issues/4248
Reloadhttps://github.com/Unity-Technologies/com.unity.netcode.gameobjects/issues/4248
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/4248
New issuehttps://github.com/login?return_to=https://github.com/Unity-Technologies/com.unity.netcode.gameobjects/issues/4248
#4252https://github.com/Unity-Technologies/com.unity.netcode.gameobjects/pull/4252
NetworkTransform: half-float base update dropped as out of order when UseUnreliableDeltas is on, so later deltas decode ~2 m offhttps://github.com/Unity-Technologies/com.unity.netcode.gameobjects/issues/4248#top
#4252https://github.com/Unity-Technologies/com.unity.netcode.gameobjects/pull/4252
port:3.x-completedhttps://github.com/Unity-Technologies/com.unity.netcode.gameobjects/issues?q=state%3Aopen%20label%3A%22port%3A3.x-completed%22
priority:mediumThis issue has medium priority and may take some time to be resolvedhttps://github.com/Unity-Technologies/com.unity.netcode.gameobjects/issues?q=state%3Aopen%20label%3A%22priority%3Amedium%22
stat:importedStatus - Issue is tracked internally at Unityhttps://github.com/Unity-Technologies/com.unity.netcode.gameobjects/issues?q=state%3Aopen%20label%3A%22stat%3Aimported%22
type:bugBug Reporthttps://github.com/Unity-Technologies/com.unity.netcode.gameobjects/issues?q=state%3Aopen%20label%3A%22type%3Abug%22
https://github.com/zchristensen01
zchristensen01https://github.com/zchristensen01
on Nov 10, 2026https://github.com/Unity-Technologies/com.unity.netcode.gameobjects/issues/4248#issue-6316792604
fix: NetworkTransform half float synch #2791https://github.com/Unity-Technologies/com.unity.netcode.gameobjects/pull/2791
fix: unreliable deltas half float synch jitter #2922https://github.com/Unity-Technologies/com.unity.netcode.gameobjects/pull/2922
NoelStephensUnityhttps://github.com/NoelStephensUnity
type:bugBug Reporthttps://github.com/Unity-Technologies/com.unity.netcode.gameobjects/issues?q=state%3Aopen%20label%3A%22type%3Abug%22
priority:mediumThis issue has medium priority and may take some time to be resolvedhttps://github.com/Unity-Technologies/com.unity.netcode.gameobjects/issues?q=state%3Aopen%20label%3A%22priority%3Amedium%22
stat:importStatus - Issue is going to be saved internallyhttps://github.com/Unity-Technologies/com.unity.netcode.gameobjects/issues?q=state%3Aopen%20label%3A%22stat%3Aimport%22
port:3.x-completedhttps://github.com/Unity-Technologies/com.unity.netcode.gameobjects/issues?q=state%3Aopen%20label%3A%22port%3A3.x-completed%22
on Nov 13, 2026https://github.com/Unity-Technologies/com.unity.netcode.gameobjects/issues/4248#event-36062272591
michalChrobothttps://github.com/michalChrobot
stat:importedStatus - Issue is tracked internally at Unityhttps://github.com/Unity-Technologies/com.unity.netcode.gameobjects/issues?q=state%3Aopen%20label%3A%22stat%3Aimported%22
stat:importStatus - Issue is going to be saved internallyhttps://github.com/Unity-Technologies/com.unity.netcode.gameobjects/issues?q=state%3Aopen%20label%3A%22stat%3Aimport%22
on Nov 16, 2026https://github.com/Unity-Technologies/com.unity.netcode.gameobjects/issues/4248#event-36278240644
Sign up for freehttps://github.com/signup?return_to=https://github.com/Unity-Technologies/com.unity.netcode.gameobjects/issues/4248
Sign in to commenthttps://github.com/login?return_to=https://github.com/Unity-Technologies/com.unity.netcode.gameobjects/issues/4248
port:3.x-completedhttps://github.com/Unity-Technologies/com.unity.netcode.gameobjects/issues?q=state%3Aopen%20label%3A%22port%3A3.x-completed%22
priority:mediumThis issue has medium priority and may take some time to be resolvedhttps://github.com/Unity-Technologies/com.unity.netcode.gameobjects/issues?q=state%3Aopen%20label%3A%22priority%3Amedium%22
stat:importedStatus - Issue is tracked internally at Unityhttps://github.com/Unity-Technologies/com.unity.netcode.gameobjects/issues?q=state%3Aopen%20label%3A%22stat%3Aimported%22
type:bugBug Reporthttps://github.com/Unity-Technologies/com.unity.netcode.gameobjects/issues?q=state%3Aopen%20label%3A%22type%3Abug%22
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.