Can not you call SDKInit () in a background process?

0

I am going to upload UNet Server to Gamelift.

UnityEngine provides the ability to run programs in the background.However, after creating the fleet, the Aws Gamelift console The message "A process unrecognized by GameLift is attempting to make GameLift Server SDK API calls. Are you using a process launcher?" appears. Within five minutes of this, there will be an event message that the SDKInit () function has not been called.

Before I created the fleet, I noticed that the local test runs without any problems until the Server Health Check.

I'm not sure what to do with this problem. Please help me.

已提问 6 年前256 查看次数
1 回答
0

Hello there -

GameLift expects whichever process has been integrated with the GameLift Server SDK to be the same process that calls InitSDK() and ProcessReady(). In other words, whichever process you specify in your Fleet's Runtime Configuration (eg. C:\game\server.exe), that executable needs to be the one that is integrated with the GameLift Server SDK and communicates back to GameLift via the InitSDK() method, otherwise registration of your game server process will timeout and the error message you describe above will be shown.

Does this help?

已回答 6 年前

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

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

回答问题的准则