Skip to content

fix: updating testproject NetworkAnimator test#2075

Merged
lpmaurice merged 11 commits intodevelopfrom
fix/test-project-networkanimator-manual-test-update
Jul 29, 2022
Merged

fix: updating testproject NetworkAnimator test#2075
lpmaurice merged 11 commits intodevelopfrom
fix/test-project-networkanimator-manual-test-update

Conversation

@NoelStephensUnity
Copy link
Copy Markdown
Member

@NoelStephensUnity NoelStephensUnity commented Jul 22, 2022

This fixes some issues found with the manual test of NetworkAnimator.
This includes the renaming of the manual test scene name to a more pertinent name.

Testing and Documentation

  • Manual test updated.

This resolves the issue with NetworkAnimator not de-registering itself from OnClientConnected.
This resolves some issues with the manual NetworkAnimator test.
MTT-4080
(this branch includes fixes for the OnClientConnectedCallback issue)
Renamed NetworkAnimatorEnhancement scene to NetworkAnimatorServerOwnerTest.
Adding the manual NetworkAnimatorServerOwnerTest scene to the scenes in build list.
fixing whitespace issue.
Fixing how AnimatedCubeController determines the type of NetworkAnimator and whether it is server or owner authoritative.
Simplifying the conditional check requirements down to IsSpawned and IsOwner for the AnimationUserInput component since the only input checked should always be by the owner.
removing an artifact from cherry picking a previous branch's work that included the manual test fixes.
@NoelStephensUnity NoelStephensUnity marked this pull request as ready for review July 22, 2022 15:26
@NoelStephensUnity NoelStephensUnity requested a review from a team as a code owner July 22, 2022 15:26
@NoelStephensUnity NoelStephensUnity requested a review from 0xFA11 July 22, 2022 15:26
@NoelStephensUnity NoelStephensUnity changed the title fix: updating testproject NetworkAnimtor test fix: updating testproject NetworkAnimator test Jul 22, 2022
Comment thread testproject/Assets/Tests/Manual/NetworkAnimatorTests/AnimatedCubeController.cs Outdated
@lpmaurice lpmaurice enabled auto-merge (squash) July 29, 2022 21:23
@lpmaurice lpmaurice merged commit 0e84dcd into develop Jul 29, 2022
@lpmaurice lpmaurice deleted the fix/test-project-networkanimator-manual-test-update branch July 29, 2022 22:07
jakobbbb pushed a commit to GooseGirlGames/com.unity.netcode.gameobjects that referenced this pull request Feb 22, 2023
* fix

This resolves the issue with NetworkAnimator not de-registering itself from OnClientConnected.
This resolves some issues with the manual NetworkAnimator test.

* update

MTT-4080
(this branch includes fixes for the OnClientConnectedCallback issue)
Renamed NetworkAnimatorEnhancement scene to NetworkAnimatorServerOwnerTest.
Adding the manual NetworkAnimatorServerOwnerTest scene to the scenes in build list.

* style

fixing whitespace issue.

* update

Fixing how AnimatedCubeController determines the type of NetworkAnimator and whether it is server or owner authoritative.

* update

Simplifying the conditional check requirements down to IsSpawned and IsOwner for the AnimationUserInput component since the only input checked should always be by the owner.

* update

removing an artifact from cherry picking a previous branch's work that included the manual test fixes.

* style

removing unused property.
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.

4 participants