If Clients try to connect pre Server start, the Clients Owner Authoritative Network Animator wont work
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
- Clients try to connect to a not started Server
- Server started
- Clients connect
- Server spawns PlayerPrefabs with Owner Authoritative NetworkAnimator
- Clients Animations wont sync
- Another Client connects to started Server
- Server spawns PlayerPrefab with Owner Authoritative NetworkAnimator
- 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]
@NoelStephensUnity Could you take a look to verify if your fixes fix this particular issue
Backlog MTT-4384
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. 👍
#2127 was merged and so I am closing this issue.
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. 👍