Repository navigation
refactor: NetworkTransform delta detection as static job-safe methods (batched transforms 2/5) - #4232
Draft
NoelStephensUnity wants to merge 1 commit into
Conversation
…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 was referenced Oct 29, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose of this PR
Moves
NetworkTransform's delta detection into static methods overNetworkTransformState, 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.NetworkTransformcalls them in place of its instance methods.Out of scope:
Jira ticket
N/A
Documentation
Testing & QA (How your changes can be verified during release Playtest)
NetworkTransformintegration tests, which exercise every delta path.Functional Testing
Manual testing :
Manual testing doneAutomated tests:
Covered by existing automated testsCovered by new automated testsDoes 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.