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

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南