Hi, I am currently trying to do the set-up for local debugging game server containers on my local machine, but I am hitting a bump. Here is the list of tools I am currently using:
- Windows 10 Pro (latest version)
- Docker (latest version)
- MPS Sample's UnityMirror project(using it as a test run before using my actual game)
- LocalMultiplayerAgent 0.9.8
- Unity 2021.1.7f1
- Following guide from MSFT Docs for Windows Container
The issue: when starting the server via the LocalMultiplayerAgent, the powershell keeps waiting for HeartBeat. Looking at the server logs I get a Curl Error 28 as its unable to connect to my IPV4(localhost) address:
state: PlayFab.MultiplayerAgent.Model.HeartbeatRequest, payload: {"CurrentGameState":"StandingBy","CurrentGameHealth":null,"CurrentPlayers":[]} Curl error 28: Failed to connect to MyIP port 56001: Timed out CurrentError: Request timeout - b9a6715f-6613-4760-a842-1d12f16142da Retrying heartbeat in 30s Request timeout
The process method did work when I tried it.
Note that when my server is waiting for timeout, I can still see my client connect & disconnect:
Client Connected The PlayerPrefab is empty on the NetworkManager. OnServerDisconnect: Client disconnected.
I tried starting from scratch, but the result remains the same.