Skip to content

refactor: [Optimize accessors] NetworkBehavior#3915

Merged
noellie-velez merged 17 commits intodevelop-2.0.0from
chore/simplify-accessors-network-behaviour
Mar 31, 2026
Merged

refactor: [Optimize accessors] NetworkBehavior#3915
noellie-velez merged 17 commits intodevelop-2.0.0from
chore/simplify-accessors-network-behaviour

Conversation

@noellie-velez
Copy link
Copy Markdown
Collaborator

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

Purpose of this PR

Use local network manager instead of field

Jira ticket

MTT-14676

Changelog

  • Changed: Improve performance of NetworkBehavior.

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 requested a review from a team as a code owner March 23, 2026 15:39
@noellie-velez noellie-velez changed the title Use local network manager instead of field refactor: [Optimize bitfield accessors] NetworkBehavior Mar 23, 2026
@noellie-velez noellie-velez changed the title refactor: [Optimize bitfield accessors] NetworkBehavior refactor: [Optimize accessors] NetworkBehavior Mar 26, 2026
…simplify-accessors-network-behaviour

# Conflicts:
#	com.unity.netcode.gameobjects/CHANGELOG.md
…haviour

# Conflicts:
#	com.unity.netcode.gameobjects/CHANGELOG.md
…o chore/simplify-accessors-network-behaviour"

This reverts commit 26e9cbc, reversing
changes made to d0284d7.

# Conflicts:
#	com.unity.netcode.gameobjects/CHANGELOG.md
@noellie-velez noellie-velez enabled auto-merge (squash) March 31, 2026 10:09
@noellie-velez noellie-velez disabled auto-merge March 31, 2026 10:48
@noellie-velez noellie-velez enabled auto-merge (squash) March 31, 2026 10:48


### Changed
- Improve performance of `NetworkBehavior`. (#3915)
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.

Suggested change
- Improve performance of `NetworkBehavior`. (#3915)
- Improve performance of `NetworkBehaviour`. (#3915)

@noellie-velez noellie-velez merged commit c242ca7 into develop-2.0.0 Mar 31, 2026
23 checks passed
@noellie-velez noellie-velez deleted the chore/simplify-accessors-network-behaviour branch March 31, 2026 23:26
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