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: remove ServerAnimationHandler OnNetworkSpawn workaround [MTT-3152] #783

Closed

Conversation

fernando-cortez
Copy link
Collaborator

@fernando-cortez fernando-cortez commented Nov 10, 2022

Description

This PR removes a previous workaround that previously synced life state for players. A joining player would not see a fully synced Animator. The cases where this was obvious was when a late joiner would not see fainted players in their fainted animation. This has since been fixed on the NetworkAnimator side and so this workaround is not necessary.

Issue Number(s)

MTT-3152

Contribution checklist

  • Tests have been added for boss room and/or utilities pack
  • Release notes have been added to the project changelog file and/or package changelog file
  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • JIRA ticket ID is in the PR title or at least one commit message
  • Include the ticket ID number within the body message of the PR to create a hyperlink
  • An Index entry has been added in readme.md if applicable

@fernando-cortez fernando-cortez added 2-Easy This PR is trivial and can be reviewed quickly DO NOT MERGE Do not merge this PR! labels Nov 10, 2022
@fernando-cortez
Copy link
Collaborator Author

Threw this PR up but it should wait until after this PR goes through for the 2.0.3 release.

@@ -1,5 +1,4 @@
using System;
Copy link
Contributor

Choose a reason for hiding this comment

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

note release note?

@fernando-cortez
Copy link
Collaborator Author

We can't quite yet remove the workaround, since applying a change to the NetworkAnimator on OnNetworkSpawn() will currently throw NullReferenceExceptions.

This PR addresses that issue, meaning this PR will go on hold for now.

@fernando-cortez fernando-cortez added the 4-On Hold PR can't proceed because it's blocked or is otherwise waiting on something. label Jan 3, 2023
@fernando-cortez fernando-cortez requested a review from a team as a code owner December 11, 2023 03:27
@fernando-cortez
Copy link
Collaborator Author

This PR has included the work that this PR was aiming to initially accomplish, and so I'll close this PR.

@fernando-cortez fernando-cortez deleted the fix/remove-serveranimationhandler-workaround branch April 29, 2024 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2-Easy This PR is trivial and can be reviewed quickly 4-On Hold PR can't proceed because it's blocked or is otherwise waiting on something. DO NOT MERGE Do not merge this PR!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants