com.unity.netcode.gameobjects icon indicating copy to clipboard operation
com.unity.netcode.gameobjects copied to clipboard

If Clients try to connect pre Server start, the Clients Owner Authoritative Network Animator wont work

Open itismarcii opened this issue 3 years ago • 3 comments

Description

If Clients try to connect to a Server that hasnt started yet, those Clients will not sync their animations after spawn anymore. Should another Client spawn post Server start, all Client syncs (pre/post) will work (again).

Reproduce Steps

  1. Clients try to connect to a not started Server
  2. Server started
  3. Clients connect
  4. Server spawns PlayerPrefabs with Owner Authoritative NetworkAnimator
  5. Clients Animations wont sync
  6. Another Client connects to started Server
  7. Server spawns PlayerPrefab with Owner Authoritative NetworkAnimator
  8. All Client syncs will work normally

Actual Outcome

If Clients spawn pre Server start, their Owner Authoritative NetworkAnimator wont sync after the connection. Only after another Client spawns (post Server start) all Clients Owner Authoritative NetworkAnimator will work perfectly fine again.

Expected Outcome

It should make no difference if the Client spawned pre or post Server start. The animation sync should always work normal.

Screenshots

If applicable, add screenshots to help explain your problem.

Environment

  • Netcode Version: [1.0.0]

itismarcii avatar Aug 10 '22 15:08 itismarcii

@NoelStephensUnity Could you take a look to verify if your fixes fix this particular issue

ashwinimurt avatar Aug 11 '22 18:08 ashwinimurt

Backlog MTT-4384

ashwinimurt avatar Aug 12 '22 00:08 ashwinimurt

This was actually a fix another user suggested that I just finished migrating into our build pipeline via PR-2127. I will close this out once that PR is merged. 👍

NoelStephensUnity avatar Aug 16 '22 19:08 NoelStephensUnity

#2127 was merged and so I am closing this issue.

NoelStephensUnity avatar Sep 28 '22 22:09 NoelStephensUnity

We consider this fixed because with Netcode for GameObjects version 1.5.2 and Unity LTS version 2022.3.7 we were not able to reproduce the original problem. 👍

PyrateAkananto avatar Aug 25 '23 09:08 PyrateAkananto