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: NCCBUG-193 #2492

Merged
merged 9 commits into from
Apr 6, 2023
Merged

fix: NCCBUG-193 #2492

merged 9 commits into from
Apr 6, 2023

Conversation

NoelStephensUnity
Copy link
Collaborator

@NoelStephensUnity NoelStephensUnity commented Apr 6, 2023

Pass the actual ClientRpcParams into the SendAnimStateClientRpc method.

Changelog

  • Fixed: issue where NetworkAnimator was building client RPC parameters to exclude the host from sending itself messages but was not including it in the ClientRpc parameters.

NoelStephensUnity and others added 5 commits April 5, 2023 09:57
…ated transitions (#2481)

* fix
For client authoritative, the server now actually sends any pending animation updates to any non-authoritative clients.
Trigger not updating properly on server when server authoritative but was the owner sending the trigger update.
Improve detection of the type of animation state change.
This fixes the issue where cross fades were not being handled by NetworkAnimator.
This is a first pass fix and the serialization could use an overhaul to reduce bandwidth costs.

* update
Making sure we don't toggle between transition and crossfade.
Packing values for AnimationState
Updating the manual test used to get cross fading to AnimationStates without transitions working.
Making the serialization of the two bools one byte instead of two bytes.

* test
Adding some cross fade tests to the NetworkAnimatorTests.
Also fixed an issue with the coroutineRunner being destroyed before the IntegrationTestSceneHandler was.
This is the final test for cross fade initiated transitions and whether it is detected and synchronized or not.
Actually pass the m_ClientRpcParams to avoid the host sending messages to itself.
updating the changelog.
@NoelStephensUnity NoelStephensUnity changed the base branch from develop to release/1.4.0 April 6, 2023 18:37
@NoelStephensUnity NoelStephensUnity marked this pull request as ready for review April 6, 2023 19:37
@NoelStephensUnity NoelStephensUnity requested a review from a team as a code owner April 6, 2023 19:37
adjusting changelog entry order.
missed one entry.
argg!
One more
@ShadauxCat ShadauxCat merged commit 39728b1 into release/1.4.0 Apr 6, 2023
@ShadauxCat ShadauxCat deleted the fix/NCCBUG-193 branch April 6, 2023 20:59
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.

None yet

3 participants