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

can't run project Serverless Multiplayer Game #16

Open
yucelz opened this issue Nov 2, 2023 · 5 comments
Open

can't run project Serverless Multiplayer Game #16

yucelz opened this issue Nov 2, 2023 · 5 comments

Comments

@yucelz
Copy link

yucelz commented Nov 2, 2023

1- download the project from GitHub
2- complete all services' general settings (unity project ID etc..)
3- clone the project using the ParrelSync package
4- run the project in a two different editor
5- A remote config file has been created based on the reference document (MULTIPLAYER_GAME_SETTINGS)
6- I can able to see new player-Ids on the cloud Player management tab

and got an exception...

Error::: KeyNotFoundException: Specified number of players (2) not found in Remote Config player options.
Unity.Services.Samples.ServerlessMultiplayerGame.RemoteConfigManager.GetConfigForPlayers (System.Int32 numPlayers) (at Assets/Use Case Samples/Serverless Multiplayer Game/Scripts/Menu/RemoteConfigManager.cs:56)
Unity.Services.Samples.ServerlessMultiplayerGame.GameSceneManager.ShowInitialGameTime () (at Assets/Use Case Samples/Serverless Multiplayer Game/Scripts/Game/GameSceneManager.cs:96)
Unity.Services.Samples.ServerlessMultiplayerGame.GameSceneManager.ShowArenaPanel () (at Assets/Use Case Samples/Serverless Multiplayer Game/Scripts/Game/GameSceneManager.cs:88)
Unity.Services.Samples.ServerlessMultiplayerGame.GameSceneManager.Start () (at Assets/Use Case Samples/Serverless Multiplayer Game/Scripts/Game/GameSceneManager.cs:46)

@yucelz
Copy link
Author

yucelz commented Nov 2, 2023

Solution : use Release 1.10.0 for Environments setting.
conclusions: Unity team should update sample document and add description about environments setting based on old version.

https://docs.unity.com/ugs/en-us/solutions/manual/ServerlessMultiplayerGame#set-up-computer-to-test-multiplayer

@gpaquin-unity
Copy link
Contributor

Thanks for the feedback @yucelz, we'll review the documentation.

@Eric-Robitaille
Copy link

Eric-Robitaille commented Feb 12, 2024

Hello @yucelz , I'm Eric one of the developers working on this repository.

To confirm my understanding, updating to the version 1.10 of the project resolved your issue, but the documentation is not up to date. We've made some more changes since the 1.10 release, including some documentation changes. Could you take a look at the local documentation for the Serverless Multiplayer Game and let us know if it answers your question? It includes a section on dashboard and environments, plus the required configs.

Thanks!

@amigax
Copy link

amigax commented Nov 18, 2024

I dont understand this solution? how to get aroudn the error?

@amigax
Copy link

amigax commented Nov 18, 2024

fixed using services/deployment or before unity6 window/deployment) - you need to deploy the config :)

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

No branches or pull requests

4 participants