Skip to content

chore: [Optimize accessors] NetworkTransform#3907

Merged
noellie-velez merged 12 commits intodevelop-2.0.0from
chore/simplify-accessors-network-transform
Apr 2, 2026
Merged

chore: [Optimize accessors] NetworkTransform#3907
noellie-velez merged 12 commits intodevelop-2.0.0from
chore/simplify-accessors-network-transform

Conversation

@noellie-velez
Copy link
Copy Markdown
Collaborator

@noellie-velez noellie-velez commented Mar 18, 2026

Purpose of this PR

Jira ticket

closes: #3743
MTT-14675

Changelog

  • Changed: Improve performance of NetworkTransform.

Documentation

  • No documentation changes or additions were necessary.

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

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?

If any boxes above are checked the QA team will be automatically added as a PR reviewer.

Backports

N/A

@noellie-velez noellie-velez marked this pull request as ready for review March 18, 2026 18:12
@noellie-velez noellie-velez requested a review from a team as a code owner March 18, 2026 18:12
@noellie-velez noellie-velez changed the title chore: Use cached network manager instead of property chore: [Optimize bitfield accessors] NetworkTransform Mar 18, 2026
@noellie-velez noellie-velez marked this pull request as draft March 25, 2026 19:34
@noellie-velez noellie-velez changed the title chore: [Optimize bitfield accessors] NetworkTransform chore: [Optimize accessors] NetworkTransform Mar 26, 2026
@noellie-velez noellie-velez marked this pull request as ready for review March 31, 2026 10:28
@noellie-velez noellie-velez enabled auto-merge (squash) March 31, 2026 10:43
@EmandM EmandM disabled auto-merge April 1, 2026 14:15
Copy link
Copy Markdown
Member

@NoelStephensUnity NoelStephensUnity left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Provided a suggested change to assignment of the cached tick rate and NetworkObject to group the more "constant" cached value assignments into the same location.

Other than that minor adjustment... it looks good to me! 👍

/// </summary>
/// <param name="networkTransform"></param>
private static void RegisterForTickUpdate(NetworkTransform networkTransform)
private void RegisterForTickUpdate()
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch and adjustment!
:godmode:

@noellie-velez noellie-velez merged commit 296b9f5 into develop-2.0.0 Apr 2, 2026
23 checks passed
@noellie-velez noellie-velez deleted the chore/simplify-accessors-network-transform branch April 2, 2026 13:59
@EmandM EmandM mentioned this pull request Apr 2, 2026
6 tasks
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.

3 participants