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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ