Skip to content

fix: client not tracking changes to layer weights [MTT-7166] #2674

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

Conversation

NoelStephensUnity
Copy link
Collaborator

@NoelStephensUnity NoelStephensUnity commented Aug 23, 2023

This resolves the issue where clients were not applying layer weight changes to their internal layer weight table which prevented clients from detecting layer weight changes back to the original layer weight values.

MTT-7166

fix: #2663

Changelog

  • Fixed: Issue where NetworkAnimator was not internally tracking changes to layer weights which prevented proper layer weight synchronization back to the original layer weight value.

Testing and Documentation

  • Includes integration test updates to NetworkAnimatorTests.
  • No documentation changes or additions were necessary.

This resolves the issue with clients not keep track of changes to the layer weights.
Validates the fix to assure clients receive weight updates and track them in order to be able to apply changes when needed.
updating changelog entry.
@NoelStephensUnity NoelStephensUnity marked this pull request as ready for review August 23, 2023 22:54
@NoelStephensUnity NoelStephensUnity requested a review from a team as a code owner August 23, 2023 22:54

### Fixed

- Fixed "writing past the end of the buffer" error when calling ResetDirty() on managed network variables that are larger than 256 bytes when serialized.
- Fixed issue where `NetworkAnimator` was not internally tracking changes to layer weights which prevented proper layer weight synchronization back to the original layer weight value. (#2674)
- Fixed "writing past the end of the buffer" error when calling ResetDirty() on managed network variables that are larger than 256 bytes when serialized. (#2670)
Copy link
Collaborator

Choose a reason for hiding this comment

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

thanks for catching this omission

@NoelStephensUnity NoelStephensUnity enabled auto-merge (squash) August 23, 2023 23:31
@NoelStephensUnity NoelStephensUnity merged commit b5b8eda into develop Aug 23, 2023
@NoelStephensUnity NoelStephensUnity deleted the fix/client-not-tracking-changes-to-layer-weights-mtt-7166 branch August 23, 2023 23:50
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.

When weight of animator layer is set to 0, layer weight is not synchronized in NetworkAnimator
2 participants