Skip to content

fix: client owner with both owner read and write permissions on a NetworkVariable does not update the server when changed#2097

Merged
NoelStephensUnity merged 7 commits intodevelopfrom
fix/networkvariable-owner-owner-client-not-updating-server
Aug 9, 2022
Merged

fix: client owner with both owner read and write permissions on a NetworkVariable does not update the server when changed#2097
NoelStephensUnity merged 7 commits intodevelopfrom
fix/networkvariable-owner-owner-client-not-updating-server

Conversation

@NoelStephensUnity
Copy link
Copy Markdown
Member

@NoelStephensUnity NoelStephensUnity commented Aug 2, 2022

This PR resolves the issue where a client owner with owner read and write permissions was not updating the server side when the client owner changed the NetworkVariable.Value.

MTT-4266
GitHub Issue #2094

Changelog

  • Fixed issue where a client owner with both owner read and write permissions would not be updated on the server side when changed.

Testing and Documentation

  • Includes integration test.

MTT-4266
This fixes the issue where a NetworkVariable that is set to owner read and write permissions and the owner is a client, then the server would not be updated with any changes to the NetworkVariable.
This includes an additional test to check that a client owner with both Owner read and write permissions will only update changes to the NetworkVariable on the server.
Adding the changelog entry for this fix.
@NoelStephensUnity NoelStephensUnity marked this pull request as ready for review August 2, 2022 17:23
@NoelStephensUnity NoelStephensUnity requested a review from a team as a code owner August 2, 2022 17:23
adding PR number.
@NoelStephensUnity NoelStephensUnity merged commit e138a9c into develop Aug 9, 2022
@NoelStephensUnity NoelStephensUnity deleted the fix/networkvariable-owner-owner-client-not-updating-server branch August 9, 2022 12:56
jakobbbb pushed a commit to GooseGirlGames/com.unity.netcode.gameobjects that referenced this pull request Feb 22, 2023
…workVariable does not update the server when changed (Unity-Technologies#2097)

* fix

MTT-4266
This fixes the issue where a NetworkVariable that is set to owner read and write permissions and the owner is a client, then the server would not be updated with any changes to the NetworkVariable.

* test

This includes an additional test to check that a client owner with both Owner read and write permissions will only update changes to the NetworkVariable on the server.

* update

Adding the changelog entry for this fix.

* update

adding PR number.
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