Skip to content

fix: cast messagesize as uint (credit: kaen / #1592) #1686

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

Merged
merged 12 commits into from
Feb 17, 2022

Conversation

ShadauxCat
Copy link
Collaborator

Fixes the MessageHeader's MessageSize value being truncated to ushort despite being a uint value. (Credit to @kaen from #1592)

Changelog

com.unity.netcode.gameobjects

  • Fixed: Messages larger than 64k being written with incorrectly truncated message size in header

Testing and Documentation

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

@ShadauxCat ShadauxCat mentioned this pull request Feb 11, 2022
3 tasks
@0xFA11 0xFA11 enabled auto-merge (squash) February 17, 2022 17:35
@0xFA11 0xFA11 merged commit 691949b into develop Feb 17, 2022
@0xFA11 0xFA11 deleted the fix/cast_messagesize_as_uint_to_develop branch February 17, 2022 20:00
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.

4 participants