Skip to content

fix: Ownership table entries not being removed on clients [MTT-2974] #1838

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

Conversation

NoelStephensUnity
Copy link
Collaborator

This addresses the issue where entries were not being removed from the NetworkSpawnManager.OwnershipToObjectsTable when UpdateOwnershipTable's isRemoving parameter was true and clients were not invoking the UpdateOwnershipTable method when they lost ownership.

MTT-2974

Changelog

  • Fixed issue where entries were not being removed from the NetworkSpawnManager.OwnershipToObjectsTable.

Testing and Documentation

  • Includes an update to an integration test.

Spawn manager not removing entries from ownership table
Removing the ownership check in InvokeBehaviourOnLostOwnership because clients still need to update their table when the owner has changed to remove their ownership entry in their local ownership table.
updating the integration test to check and make sure that the OwnershipToObjectsTable is having entries removed when ownership is lost.
removing some debug code
adding PR number
@NoelStephensUnity NoelStephensUnity enabled auto-merge (squash) March 28, 2022 15:08
Copy link
Contributor

@TwoTenPvP TwoTenPvP left a comment

Choose a reason for hiding this comment

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

LGTM 👌🏻

@NoelStephensUnity NoelStephensUnity merged commit d563072 into develop Mar 28, 2022
@NoelStephensUnity NoelStephensUnity deleted the fix/ownershiptoobjectstable-not-removing-entries-fix-pr1801 branch March 28, 2022 16:09
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