Skip to content

Conversation

@ShadauxCat
Copy link
Collaborator

MTT-1847
fixes #1445

Changelog

com.unity.netcode.gameobjects

  • Fixed: Fixed error when serializing ConnectionApprovalMessage with scene management disabled when one or more objects is hidden via the CheckObjectVisibility delegate

Testing and Documentation

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

…gement disabled when one or more objects is hidden via the CheckObjectVisibility delegate
- Fixed NetworkObjects not being despawned before they are destroyed during shutdown for client, host, and server instances. (#1390)
- Fixed client player object being destroyed on server when the client's player object has DontDestroyWithOwner set. (#1433)
- Fixed: NetworkVariables containing more than 1300 bytes of data (such as large NetworkLists) no longer cause an OverflowException (the limit on data size is now whatever limit the chosen transport imposes on fragmented NetworkDelivery mechanisms) (#1481)
- Fixed: Fixed: Fixed error when serializing ConnectionApprovalMessage with scene management disabled when one or more objects is hidden via the CheckObjectVisibility delegate (#1509)
Copy link
Contributor

Choose a reason for hiding this comment

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

"Fixed: Fixed: Fixed error ..." :P

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Suggested change
- Fixed: Fixed: Fixed error when serializing ConnectionApprovalMessage with scene management disabled when one or more objects is hidden via the CheckObjectVisibility delegate (#1509)
- Fixed: Fixed: Fixed: Fixed: Corrected error when serializing ConnectionApprovalMessage with scene management disabled when one or more objects is hidden via the CheckObjectVisibility delegate (#1509)

Copy link
Contributor

@0xFA11 0xFA11 left a comment

Choose a reason for hiding this comment

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

lgtm but I'd like to defer to @NoelStephensUnity

Copy link
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.

Nice adjustment to work around the scene object count.
LGTM!

@ShadauxCat ShadauxCat enabled auto-merge (squash) December 8, 2021 00:11
@ShadauxCat ShadauxCat merged commit 0b40c44 into develop Dec 8, 2021
@ShadauxCat ShadauxCat deleted the fix/hidden_objects_serialization_errors branch December 8, 2021 00:39
mollstam pushed a commit to Keepsake-Games/com.unity.netcode.gameobjects that referenced this pull request Feb 13, 2023
…gement disabled when one or more objects is hidden via the CheckObjectVisibility delegate (Unity-Technologies#1509)

* fix: error when serializing ConnectionApprovalMessage with scene management disabled when one or more objects is hidden via the CheckObjectVisibility delegate

* Changelog

* standards

* Fixed the "Fixed: Fixed: Fixed", fixing the "fixed" count so it's fixed at 2 fixeds.

Co-authored-by: Matt Walsh <69258106+mattwalsh-unity@users.noreply.github.com>
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.

Setting all NetworkObjects to invisible causes BufferOverflow error

5 participants