Hi Everyone,
I just discovered PlayFab and I think is a great fit for my game but I'm having some issues setting everything up.
I've downloaded the sdk and installed it . Everything compiles on the c++ side and then I jump into the editor and I set up the playFab settings by going to "Edit --> ProjectSettings --> PlayFab"
Here I set Development environment URL, production environment URL, Title Id and developer secret Key copying it from my PlayFab Account.
Then on my BP I do:
And it always returns Fail!
In order to get more info. I've gone into the c++ side and created a function that calls "StartGame" with delegates Success and Error and the message that the error always gives me is "Request Timeout or null response".
This is the code:
void PlayFabCommunicator::StartPlayFabGame() { PlayFab::MatchmakerModels::FStartGameRequest startGameRequest = PlayFab::MatchmakerModels::FStartGameRequest(); startGameRequest.Build = ""; startGameRequest.pfRegion = PlayFab::MatchmakerModels::Region::RegionEUWest; startGameRequest.GameMode = ""; startGameRequest.CustomCommandLineData = ""; startGameRequest.ExternalMatchmakerEventEndpoint = "https://e19.playfabapi.com/"; matchmakerAPI = IPlayFabModuleInterface::Get().GetMatchmakerAPI(); matchmakerAPI->StartGame(startGameRequest, PlayFab::UPlayFabMatchmakerAPI::FStartGameDelegate::CreateRaw(this, &PlayFabCommunicator::StartPlayFabGameSuccess), PlayFab::FPlayFabErrorDelegate::CreateRaw(this, &PlayFabCommunicator::StartPlayFabGameError)); }