Commit b3c889c
fix: not sending all NetworkVariables (#2135)
* fix: not sending all NetworkVariables to all clients when a client connects to a server. (#1987)
* fix
This fixes the issue with some of the tests failing.
Disabled the tests where clients don't have a prefab defined.
* update
Fixing issues with the last 5 tests.
* update
Got another (of the five) test working.
Adding some helpers to assure the prefabs are spawned before trying to check them.
Updated some comments.
* test update
This resolves the remaining issues with the deferred message tests for this PR.
* test update
I believe this will fix the tests having instability issues as well.
Co-authored-by: NoelStephensUnity <73188597+NoelStephensUnity@users.noreply.github.com>
Co-authored-by: Noel Stephens <noel.stephens@unity3d.com>1 parent e28eb2a commit b3c889c
3 files changed
Lines changed: 303 additions & 104 deletions
File tree
- com.unity.netcode.gameobjects
- Runtime/Spawning
- Tests/Runtime
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
575 | 575 | | |
576 | 576 | | |
577 | 577 | | |
578 | | - | |
579 | | - | |
580 | 578 | | |
581 | 579 | | |
582 | 580 | | |
| |||
0 commit comments