Skip to content

fix: not sending all NetworkVariables#2135

Merged
NoelStephensUnity merged 9 commits intodevelopfrom
fix/netvar-optimization-mtt-4084-gh-1987
Aug 24, 2022
Merged

fix: not sending all NetworkVariables#2135
NoelStephensUnity merged 9 commits intodevelopfrom
fix/netvar-optimization-mtt-4084-gh-1987

Conversation

@jeffreyrainy
Copy link
Copy Markdown
Contributor

fix: not sending all NetworkVariables to all clients when a client connects to a server. (#1987)

mtt-4084

Changelog

Testing and Documentation

  • Some tests needed to be disabled until we fix them. They rely on necessary messages

@jeffreyrainy jeffreyrainy requested a review from a team as a code owner August 21, 2022 15:56
NoelStephensUnity and others added 8 commits August 22, 2022 12:35
This fixes the issue with some of the tests failing.
Disabled the tests where clients don't have a prefab defined.
Fixing issues with the last 5 tests.
Got another (of the five) test working.
Adding some helpers to assure the prefabs are spawned before trying to check them.
Updated some comments.
This resolves the remaining issues with the deferred message tests for this PR.
I believe this will fix the tests having instability issues as well.
Copy link
Copy Markdown
Member

@NoelStephensUnity NoelStephensUnity left a comment

Choose a reason for hiding this comment

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

LGTM!

@NoelStephensUnity NoelStephensUnity merged commit b3c889c into develop Aug 24, 2022
@NoelStephensUnity NoelStephensUnity deleted the fix/netvar-optimization-mtt-4084-gh-1987 branch August 24, 2022 17:26
jakobbbb pushed a commit to GooseGirlGames/com.unity.netcode.gameobjects that referenced this pull request Feb 22, 2023
* fix: not sending all NetworkVariables to all clients when a client connects to a server. (Unity-Technologies#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>
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.

2 participants