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 Multiplayer Component Registration Order #768

Open
wants to merge 2 commits into
base: development
Choose a base branch
from

Conversation

AMZN-Gene
Copy link
Contributor

Ensure Multiplayer gem is a requirement so that MultiplayerSystemComponent calls RegisterMultiplayerComponents before the project component activates.
It's important for multiplayer components to be registered in a consistent order so that the server and client assign the same component-id for each component.

Fixes #767

… the MP gem. Otherwise, registration order is random, resulting in the server and client haven't different component ids

Signed-off-by: AMZN-Gene <genewalt@amazon.com>
Signed-off-by: AMZN-Gene <genewalt@amazon.com>
@AMZN-Gene AMZN-Gene requested a review from a team as a code owner October 8, 2024 18:09
@byrcolin byrcolin added the needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. label Oct 15, 2024
@jhanca-robotecai jhanca-robotecai added sig/network Categorizes an issue or PR as relevant to SIG Network. and removed needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. labels Oct 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sig/network Categorizes an issue or PR as relevant to SIG Network.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Multiplayer Template: Client Disconnects Due to Component-Id Mismatch
3 participants