We are trying to use RequestMultiplayerServer, but it seems that it must have at least BuildId or BuildAliasParams.
We do not want to have to set the BuildId or BuildAliasParams, because if we update our servers, the BuildId will change and therefore force us to edit recompile our code everytime.
Is there a better way to use RequestMultiplayerServer so that it can find the best server, just like creating a matchmaking ticket does?
Here is our current code for reference:
PlayFab::MultiplayerModels::FRequestMultiplayerServerRequest ServerRequest;
ServerRequest.BuildId = "16a6090a-8e8f-4ce3-99cb-cfcd03dbde28";
ServerRequest.SessionId = FGuid::NewGuid().ToString();
ServerRequest.PreferredRegions = { "EastUS" };
MultiplayerAPI->RequestMultiplayerServer(ServerRequest,
PlayFab::UPlayFabMultiplayerAPI::FRequestMultiplayerServerDelegate::CreateUObject(this, &APlayfabManager::OnRequestServerSuccess),
PlayFab::FPlayFabErrorDelegate::CreateUObject(this, &APlayfabManager::OnLookForSessionError));