Skip to content

fix: NetworkBehaviour and NetworkVariableDelta length safety checks #3405

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 7 commits into
base: develop-2.0.0
Choose a base branch
from

Conversation

EmandM
Copy link
Collaborator

@EmandM EmandM commented Apr 14, 2025

MTTB-1080

fixes: #3335

Changelog

  • Fixed: NetworkBehaviour length safety checks use int instead of ushort
  • Fixed: NetworkVariable EnsureNetworkVariableLengthSafety checks use int instead of ushort
  • Fixed: NetworkVariableDeltas did not work with DistributedAuthorityMode and EnsureNetworkVariableLengthSafety

Testing and Documentation

  • Includes unit tests.
  • No documentation changes or additions were necessary.

Backport

Backported in #3415

@EmandM EmandM requested a review from a team as a code owner April 14, 2025 22:52
Copy link
Collaborator

@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.

Awesome!
:godmode:

Copy link
Collaborator

@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.

Needs to be unblocked by MTT-11938 and MTTB-1222.

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.

2 participants