Skip to content

feat: native interpolator and transform sync mode setting (batched transforms 3/5) - #4233

Draft
NoelStephensUnity wants to merge 1 commit into
feat/batched-transform-2-static-delta-checkfrom
feat/batched-transform-3-native-interpolator-and-sync-modes
Draft

NoelStephensUnity wants to merge 1 commit into
feat/batched-transform-2-static-delta-checkfrom
feat/batched-transform-3-native-interpolator-and-sync-modes

Conversation

@NoelStephensUnity

@NoelStephensUnity NoelStephensUnity commented Oct 29, 2026 •

Copy link
Copy Markdown
Member

Purpose of this PR

Adds an interpolator that runs as a Burst job over native data, and the setting that will choose between per-instance and batched synchronization. Neither is used yet: the setting is captured and acted on in #4235.

Stack (replaces #4123, review in order): #4231 math and handles → #4232 static delta check → #4233 native interpolator and sync mode setting → #4234 blittable state and reliability → #4235 batched send path. Each PR targets the branch of the one before it; the diff shown is that PR alone.

PR Scope:

  • NativeInterpolator and InterpolateTransformJob: the buffered interpolator over a shared native ring buffer, matching BufferedLinearInterpolator.
  • BufferedLinearInterpolator.ResetTo no longer records a baseline measurement. The baseline was stamped with local time while the measurements after it carried the authored tick, so it caused every following measurement to be dropped.
  • TransformSyncModes and NetworkConfig.TransformSyncMode, shown under "Transform Synchronization" on the NetworkManager inspector. It is part of the connection configuration hash.

Out of scope:

Jira ticket

N/A

Documentation

Testing & QA (How your changes can be verified during release Playtest)

  • NativeInterpolatorTests feeds the native and managed interpolators identical input and checks they produce the same output.

Functional Testing

Manual testing :

  • Manual testing done

Automated tests:

  • Covered by existing automated tests
  • Covered by new automated tests

Does the change require QA team to:

  • Review automated tests?
  • Execute manual tests?
  • Provide feedback about the PR?

Up-port

N/A (develop-3.x.x only).

Backports

No backport is required.

Third of five PRs that replace #4123. NativeInterpolator and InterpolateTransformJob interpolate NetworkTransform values over native data in a Burst job. NetworkConfig.TransformSyncMode selects per-instance or batched synchronization. Neither is used until the batched path is switched on.

This branch has not been deployed

No deployments
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.

1 participant