I'm trying to use multiplayer by referring to some web pages.
In response to my code, Unity will Unity returned "Invalid input parameters" for my code.
But I don't know what's Invalid.
According to Debug.Log(error.ErrorDetails);, it seems to be System.Collections.Generic.Dictionary`2[System.String,System.Collections.Generic.List`1[System.String]]
And the server request code I use is below.
This will be called when "LoginWithCustomID" is successful.
Thanks to you for reading and to the DeepL translation tool!
private void RequestMultiplayerServer() { Debug.Log("[ClientStartUp].RequestMultiplayerServer"); RequestMultiplayerServerRequest requestData = new RequestMultiplayerServerRequest(); //requestData.BuildId = System.Guid.NewGuid().ToString(); requestData.SessionId = System.Guid.NewGuid().ToString(); requestData.PreferredRegions = new List<string>() { "EastUs" }; //requestData.PreferredRegions = new List<AzureRegion>() { AzureRegion.EastUs }; PlayFabMultiplayerAPI.RequestMultiplayerServer(requestData, OnRequestMultiplayerServer, OnRequestMultiplayerServerError); } private void OnRequestMultiplayerServerError(PlayFabError error) { Debug.Log(error.ErrorMessage); Debug.Log(error.ErrorDetails); }