Skip to content
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

fix: RemoveOwnership not locally notifying server that it gained ownership [MTT-6377] [MTT-6937][MTT-6936] #2618

Merged

Conversation

NoelStephensUnity
Copy link
Collaborator

@NoelStephensUnity NoelStephensUnity commented Jul 11, 2023

This resolves a few ownership related issues specifically noticed when using an owner authoritative NetworkTransform and ownership is removed.

This also assures NetworkVariables will be updated if ownership is removed just like they are when ownership is changed.

This also fixes an issue where NetworkManager's ShutdownInProgress was not true upon the application quitting which was causing an exception to occur within NetworkVariableBase under specific conditions.

MTT-6936
MTT-6937
MTT-6377

fix: #2563
fix: #2606
fix: #2511
fix: #2629

Changelog

  • Fixed: issue where removing ownership would not notify the server that it gained ownership. This also resolves the issue where an owner authoritative NetworkTransform would not properly initialize upon removing ownership from a remote client.

Testing and Documentation

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

This resolves a few ownership related issues specifically noticed when using an owner authoritative NetworkTransform and ownership is removed.
This also assures NetworkVariables will be updated if ownership is removed just like they are when ownership is changed.
This also fixes an issue where NetworkManager's ShutdownInProgress was not true upon the application quitting which was causing an exception to occur within NetworkVariableBase under specific conditions.
adding change log entry
Removing a warning expect check that is no longer needed.
Adding additional checks to validate RemoveOwnership generates an OnOwnershipChanged notification.
@NoelStephensUnity NoelStephensUnity marked this pull request as ready for review July 11, 2023 22:21
@NoelStephensUnity NoelStephensUnity requested a review from a team as a code owner July 11, 2023 22:21
removing some whacked auto-inserted using statement that VS 2022 "helped me" with.
 removing whitespaces
@NoelStephensUnity NoelStephensUnity changed the title fix: RemoveOwnership not locally notifying server that it gained ownership [MTT-6377] fix: RemoveOwnership not locally notifying server that it gained ownership [MTT-6377] [MTT-6937] Jul 13, 2023
@NoelStephensUnity NoelStephensUnity changed the title fix: RemoveOwnership not locally notifying server that it gained ownership [MTT-6377] [MTT-6937] fix: RemoveOwnership not locally notifying server that it gained ownership [MTT-6377] [MTT-6937][MTT-6936] Jul 13, 2023
@NoelStephensUnity NoelStephensUnity enabled auto-merge (squash) July 14, 2023 20:13
@NoelStephensUnity NoelStephensUnity merged commit 208d1c9 into develop Jul 14, 2023
1 check passed
@NoelStephensUnity NoelStephensUnity deleted the fix/remove-ownership-server-notification-MTT-6377 branch July 14, 2023 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment