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

When starting a new game for the first time, player configuration does not update from the Lobby #20

Closed
Farfi55 opened this issue Sep 13, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@Farfi55
Copy link
Owner

Farfi55 commented Sep 13, 2023

When starting a new game for the first time, after selecting the player configuration and staring the game, the players spawned do not match the configuration, but the one serialized before.

After that, it works as expected.

Unknown cause.

Closing and reopening the Game does not fix the issue

@Farfi55 Farfi55 added the bug Something isn't working label Sep 13, 2023
@Farfi55 Farfi55 changed the title On first lauch, player configuration does not update from the Lobby When starting a new game for the first time, player configuration does not update from the Lobby Sep 21, 2023
@Farfi55
Copy link
Owner Author

Farfi55 commented Sep 21, 2023

Solved with

private void OnEnable() => hideFlags = HideFlags.DontUnloadUnusedAsset;

thanks to this unity discussion

@Farfi55 Farfi55 closed this as completed Sep 21, 2023
Farfi55 added a commit that referenced this issue Sep 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant