| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
OwnerModifiedTests was not properly spawning from the non-session owner client (it was spawning with ownership on the session owner side). NetworkVariableCollectionTests is showing an issue with changes for only the host instance and only within the TestDictionaryCollections (has to do with trying to add and then reverting vs the tracked changes).
|
Are you sure you linked the correct PR as the regression root? (you linked CoreCLR update) |
Sorry, something went wrong.
Yeah it was supposed to be #3664... |
Sorry, something went wrong.
Fixed the issue in the `TestDictionaryCollections` test where clients that did not have the initial added target changes for server changes when running a host. Now, upon clients spawning players locally on the clients, the server write dictionary that is already populated by the host will have the added target changes injected during spawn to assure the changes match. (This is only for this specific test when running the host `TestFixture` pass.
…ost-spawn. (#3878) * fix Fixing the issue with the missing `OnSpawned` override within `NetworkVariable`. * test Adding a general test for scenarios like this one. * update Adding changelog entry. * style Adding comments for clarity of what `OnSpawned` and the call to `PostNetworkVariableWrite` is for. Removing trailing whitespaces. * refactor Just apply the changes to the NetworkVariable instance and not all NetworkVariables of the NetworkBehaviour. * style correcting the comment. * fix Very similar to NetworkList (we might collapse the OnSpawned logic into NetworkVariableBase. * test-fix OwnerModifiedTests was not properly spawning from the non-session owner client (it was spawning with ownership on the session owner side). NetworkVariableCollectionTests is showing an issue with changes for only the host instance and only within the TestDictionaryCollections (has to do with trying to add and then reverting vs the tracked changes). * test Narrowed down the issue to the changes tracked (i.e. added, removed, changed, unchanged) not matching when running a host but when comparing the actual dictionaries that all passes... * test Removing developer logging. * test - fix Fixed the issue in the `TestDictionaryCollections` test where clients that did not have the initial added target changes for server changes when running a host. Now, upon clients spawning players locally on the clients, the server write dictionary that is already populated by the host will have the added target changes injected during spawn to assure the changes match. (This is only for this specific test when running the host `TestFixture` pass. * style removing unused debug related script. * update Based on peer review, folding the same logic for spawn authority resetting dirty once spawned to assure no duplicate changes are sent.
…ost-spawn. (#3878) * fix Fixing the issue with the missing `OnSpawned` override within `NetworkVariable`. * test Adding a general test for scenarios like this one. * update Adding changelog entry. * style Adding comments for clarity of what `OnSpawned` and the call to `PostNetworkVariableWrite` is for. Removing trailing whitespaces. * refactor Just apply the changes to the NetworkVariable instance and not all NetworkVariables of the NetworkBehaviour. * style correcting the comment. * fix Very similar to NetworkList (we might collapse the OnSpawned logic into NetworkVariableBase. * test-fix OwnerModifiedTests was not properly spawning from the non-session owner client (it was spawning with ownership on the session owner side). NetworkVariableCollectionTests is showing an issue with changes for only the host instance and only within the TestDictionaryCollections (has to do with trying to add and then reverting vs the tracked changes). * test Narrowed down the issue to the changes tracked (i.e. added, removed, changed, unchanged) not matching when running a host but when comparing the actual dictionaries that all passes... * test Removing developer logging. * test - fix Fixed the issue in the `TestDictionaryCollections` test where clients that did not have the initial added target changes for server changes when running a host. Now, upon clients spawning players locally on the clients, the server write dictionary that is already populated by the host will have the added target changes injected during spawn to assure the changes match. (This is only for this specific test when running the host `TestFixture` pass. * style removing unused debug related script. * update Based on peer review, folding the same logic for spawn authority resetting dirty once spawned to assure no duplicate changes are sent.
| Back | FazBrowse Home | New Git URL |
This is a regression bug introduced in #3664
Purpose of this PR
This PR fixes the issue where NetworkVariable was not properly synchronizing to changes made by the spawn and write authority during OnNetworkSpawn and OnNetworkPostSpawn.
Jira ticket
UUM-134322
fix: #3876
Changelog
Documentation
Testing & QA (How your changes can be verified during release Playtest)
Functional Testing
Manual testing :
Automated tests:
Does the change require QA team to:
If any boxes above are checked the QA team will be automatically added as a PR reviewer.
Backports
This does not require a backport.