question

Samuel Diesbergen avatar image
Samuel Diesbergen asked

Why do servers hosted on playfab return no server data

Hi

please excuse me if this sounds like a dumb question but im new to playfab as im currently looking into porting my new game from aws gamelift and steam to playfab.

We create the matchmaking ticket and get the ticket response back fine but then when we call get match no server details are returned.

we have a healthy build on playfab.

Im not sure if the server is missing something from its build or if its client side due to the lack of detailed documentation for ue4 dedicated server deployment

Below i have attached a section from the log file

<Get Matchmaking Ticket Request>LogPlayFab: Request: {
	"EscapeObject": false,
	"QueueName": "1v1BattleRoyal",
	"TicketId": "35453c0f-b647-4d40-aaed-48aad0e61ae3"
}

<Get Matchmaking Ticket Response>LogPlayFab: Response : {"code":200,"status":"OK","data":{"TicketId":"35453c0f-b647-4d40-aaed-48aad0e61ae3","QueueName":"1v1BattleRoyal","MatchId":"db5a71e9-9931-46bc-8912-0b827e022f3d","Created":"2020-08-29T10:39:26Z","Status":"Matched","GiveUpAfterSeconds":300,"Members":[{"Entity":{"Id":"8F729936D9E23F48","Type":"title_player_account","TypeString":"title_player_account"},"Attributes":{"DataObject":{}}}],"Creator":{"Id":"8F729936D9E23F48","Type":"title_player_account","TypeString":"title_player_account"}}}

[2020.08.29-10.39.35:019][124]LogBlueprintUserMessages: [LobbyGameMode_C_0] Matched
[2020.08.29-10.39.35:019][124]LogBlueprintUserMessages: [LobbyGameMode_C_0] Match Found
[2020.08.29-10.39.35:019][124]LogBlueprintUserMessages: [LobbyGameMode_C_0] db5a71e9-9931-46bc-8912-0b827e022f3d

<Get Match Request>LogPlayFab: Request: {
	"EscapeObject": false,
	"MatchId": "db5a71e9-9931-46bc-8912-0b827e022f3d",
	"QueueName": "1v1BattleRoyal",
	"ReturnMemberAttributes": false
}

<Get Match Response>LogPlayFab: Response : {"code":200,"status":"OK","data":{"MatchId":"db5a71e9-9931-46bc-8912-0b827e022f3d","Members":[{"Entity":{"Id":"1C8155001A757A97","Type":"title_player_account","TypeString":"title_player_account"}},{"Entity":{"Id":"8F729936D9E23F48","Type":"title_player_account","TypeString":"title_player_account"}}]}}

[2020.08.29-10.39.35:235][162]LogBlueprintUserMessages: [LobbyGameMode_C_0] 
[2020.08.29-10.39.35:235][162]LogScript: Warning: Accessed None trying to read property ServerDetails
	LobbyGameMode_C /Game/Maps/Lobby.Lobby:PersistentLevel.LobbyGameMode_C_0
	Function /Game/GameObjects/LobbyGameMode.LobbyGameMode_C:ExecuteUbergraph_LobbyGameMode:25C7
[2020.08.29-10.39.35:236][162]LogScript: Warning: Script call stack:
	Function /Game/GameObjects/LobbyGameMode.LobbyGameMode_C:GetMatchSuccess
	Function /Game/GameObjects/LobbyGameMode.LobbyGameMode_C:ExecuteUbergraph_LobbyGameMode


[2020.08.29-10.39.35:236][162]LogBlueprintUserMessages: [LobbyGameMode_C_0] Server Data: 
unrealCustom Game ServerswindowsMatchmaking
1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Samuel Diesbergen avatar image Samuel Diesbergen commented ·

please delete this

0 Likes 0 ·

1 Answer

·
Seth Du avatar image
Seth Du answered

I am not sure if you have solved this issue. As a reminder, if auto allocation was not checked in the queue configuration, you will need to call RequestMultiplayerServer API to allocate servers for matched ticket. Meanwhile you may try to enable auto allocation to see if it meets your requirement.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.