UE4+Gamelift client connection fails

0

Hello!) I have an issue with client/server connection. I created a game session, reserved a player session, got the URL for a client. But when the UE4 client calls ClientTravel("ip+port+?+PlayerSessionId=...), the server's game mode doesn't fire either Login() or PreLogin() functions. Because of that, I can't get a PlayerSessionId from the "Options" argument and validate the PlayerSesssion on the server and Gamelift closes it after 1 minute. When I run a server locally without Gamelift, "Login()" fires as expected. Gamelift health check works great in the server's game mode as well. Please help!

已提问 2 年前377 查看次数
1 回答
0
已接受的回答

Hi Igor, as per my understanding it seems to be that the UE4 client isn't able to send requests to your game sever on GameLift. Have you verified that your GameLift fleet is configured to accept inbound connections on the port it is expecting requests from the client? You can do this by using the update-fleet-port-settings command. Find more documentation here: https://docs.aws.amazon.com/cli/latest/reference/gamelift/update-fleet-port-settings.html

AWS
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则