Skip to content

refactor: NetworkTransform delta detection as static job-safe methods (batched transforms 2/5) - #4232

Draft
NoelStephensUnity wants to merge 1 commit into
feat/batched-transform-1-math-and-handlesfrom
feat/batched-transform-2-static-delta-check
Draft

NoelStephensUnity wants to merge 1 commit into
feat/batched-transform-1-math-and-handlesfrom
feat/batched-transform-2-static-delta-check

Conversation

@NoelStephensUnity

@NoelStephensUnity NoelStephensUnity commented Oct 29, 2026 •

Copy link
Copy Markdown
Member

Purpose of this PR

Moves NetworkTransform's delta detection into static methods over NetworkTransformState, so the same check can later run from a job. Every instance still uses it from the main thread; behaviour is unchanged.

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:

  • NetworkTransformDeltaCheck: the position, rotation and scale delta checks, the axis frame synchronization and the half-float position update, as static methods that take the state and settings by reference.
  • NetworkTransform calls them in place of its instance methods.

Out of scope:

Jira ticket

N/A

Documentation

  • No documentation changes or additions were necessary (internal API only).

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

  • Covered by the existing NetworkTransform integration tests, which exercise every delta path.

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.

…methods

Second of five PRs that replace #4123. NetworkTransformDeltaCheck holds the delta check as static methods over NetworkTransformState, so the batched path can run it from a job. NetworkTransform calls it for every instance; behaviour is unchanged.

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