Repository navigation
feat: native interpolator and transform sync mode setting (batched transforms 3/5) - #4233
Draft
NoelStephensUnity wants to merge 1 commit into
Conversation
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 was referenced Oct 29, 2026
refactor: NetworkTransform delta detection as static job-safe methods (batched transforms 2/5)
#4232
Draft
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
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:
NativeInterpolatorandInterpolateTransformJob: the buffered interpolator over a shared native ring buffer, matchingBufferedLinearInterpolator.BufferedLinearInterpolator.ResetTono 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.TransformSyncModesandNetworkConfig.TransformSyncMode, shown under "Transform Synchronization" on theNetworkManagerinspector. It is part of the connection configuration hash.Out of scope:
NetworkTransform(feat: batched NetworkTransform synchronization, one message per tick (batched transforms 5/5) #4235).Jira ticket
N/A
Documentation
TransformSyncModes,NetworkConfig.TransformSyncMode). The manual section on choosing a mode lands with feat: batched NetworkTransform synchronization, one message per tick (batched transforms 5/5) #4235.Testing & QA (How your changes can be verified during release Playtest)
NativeInterpolatorTestsfeeds the native and managed interpolators identical input and checks they produce the same output.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.