Hi everyone.
As the title, after deployed my build onto playfab, the server starts fail. Any idea on this? I tested locally using MultiPlayerAgent on local and it works fine,
Thank you.
Hi everyone.
As the title, after deployed my build onto playfab, the server starts fail. Any idea on this? I tested locally using MultiPlayerAgent on local and it works fine,
Thank you.
This is the log from multiplayeragent
TitleId: 46E03C97
BuildId: 7dde45c0-08d8-4968-842d-cb7f31b0e4f6
VmId: xcloudwusu4uyz5daouzl:WestUs:ff5c5d78-2bd6-43c0-9916-058ae69eef25:tvmps_60d37f0d2af146928a578b6bce42eda41f5cb4fbfe2a4e11a2702fa6e50c381b_d
Root output folder: D:\UnrealEngine\Projects\MpsAgent\LocalMultiplayerAgent\bin\Debug\netcoreapp3.1\PlayFabVmAgentOutput\2022-07-11T12-39-03
info: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[0]
User profile is available. Using 'C:\Users\Hoang Nhan\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
Local Multiplayer Agent is listening on port 56001 Player1, Player2
info: PlayFabLocalMultiplayerAgent[0]
Starting process for session host with instance number 0 and process info: FileName - C:\Assets\MultiPlayerServer\MultiPlayerServer.exe, Args - .
info: PlayFabLocalMultiplayerAgent[0]
Creating the configuration file at D:\UnrealEngine\Projects\MpsAgent\LocalMultiplayerAgent\bin\Debug\netcoreapp3.1\PlayFabVmAgentOutput\2022-07-11T12-39-03\Config\SH0\gsdkConfig.json
info: PlayFabLocalMultiplayerAgent[0]
Started process for session host. Instance Number: 0, UniqueId: d778b535-785a-47b0-b038-c9e6bc8038b8, ProcessId: 18316
info: PlayFabLocalMultiplayerAgent[0]
Waiting for heartbeats from the game server.....
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
Request starting HTTP/1.1 PATCH http://127.0.0.1:56001/v1/sessionHosts/d778b535-785a-47b0-b038-c9e6bc8038b8 application/json; charset=utf-8 99
info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[3]
Route matched with {action = "ProcessHeartbeatV1", controller = "SessionHost"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] ProcessHeartbeatV1(System.String, Microsoft.Azure.Gaming.AgentInterfaces.SessionHostHeartbeatInfo) on controller LocalMultiplayerAgent.Controllers.SessionHostController (LocalMultiplayerAgent). CurrentGameState: Initializing
info: Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor[1] Executing ObjectResult, writing value of type 'Microsoft.Azure.Gaming.AgentInterfaces.SessionHostHeartbeatInfo'. info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[2] Executed action LocalMultiplayerAgent.Controllers.SessionHostController.ProcessHeartbeatV1 (LocalMultiplayerAgent) in 61.8398ms
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
Request finished in 130.2873ms 200 application/json; charset=utf-8
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
Request starting HTTP/1.1 PATCH http://127.0.0.1:56001/v1/sessionHosts/d778b535-785a-47b0-b038-c9e6bc8038b8 application/json; charset=utf-8 99
info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[3]
Route matched with {action = "ProcessHeartbeatV1", controller = "SessionHost"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] ProcessHeartbeatV1(System.String, Microsoft.Azure.Gaming.AgentInterfaces.SessionHostHeartbeatInfo) on controller LocalMultiplayerAgent.Controllers.SessionHostController (LocalMultiplayerAgent).
CurrentGameState: Initializing
How is your build setup on PlayFab? Have you tried the running local multiplayer agent in container mode? Is there any error log from the server? Could you follow this document and check the logs from the game server?
3 People are following this question.
Best approach to CO-OP & PVP Hybrid Servers (Security)
Unreal: Can't see other players after logging In.,Can't see other players after logging in.
Create lobby in ue4 with playfab
SSH or RDP into Linux-based Container?
Error :Server targets are not currently supported from this engine distribution. how to fix it?