Open yucelz opened 10 months ago
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.
Thanks for the feedback @yucelz, we'll review the documentation.
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!
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)