Issue compiling gamelift plugin on UE5.5.1

0

I think i got the same issue that was reported 9month ago, at https://repost.aws/questions/QUtLhlal5wRI2VHu2czOG3Cw/issue-compiling-gamelift-plugin-on-ue5-4 but is the problem solved at 5.5?

The code seems to be without any errors within the plugin but still compiling seems to keep failing. There are no changes made to the original UE5 GameLift plugin 0>[1/5] Compile [x64] FGameLiftCoreModule.cpp 0>AccountFilterType.h(21): Error C2143 : syntax error: missing '}' before 'constant' 0>AccountFilterType.h(21): Error C2059 : syntax error: 'constant' 0>AccountFilterType.h(23): Error C2143 : syntax error: missing ';' before '}' 0>AccountFilterType.h(27): Error C4430 : missing type specifier - int assumed. Note: C++ does not support default-int 0>AccountFilterType.h(27): Error C2146 : syntax error: missing ';' before identifier 'GetAccountFilterTypeForName' 0>AccountFilterType.h(27): Error C4430 : missing type specifier - int assumed. Note: C++ does not support default-int 0>AccountFilterType.h(29): Error C2491 : 'Aws::CloudFormation::AccountFilterTypeMapper::GetNameForAccountFilterType': definition of dllimport data not allowed 0>AccountFilterType.h(29): Error C2146 : syntax error: missing ')' before identifier 'value' 0>AccountFilterType.h(33): Error C2059 : syntax error: '}' 0>AccountFilterType.h(33): Error C2143 : syntax error: missing ';' before '}' 0>DeploymentTargets.h(15): Error C2143 : syntax error: missing ';' before '{' 0>DeploymentTargets.h(15): Error C2447 : '{': missing function header (old-style formal list?) 0>StackSetOperation.h(632): Error C4430 : missing type specifier - int assumed. Note: C++ does not support default-int 0>StackSetOperation.h(632): Error C2143 : syntax error: missing ';' before '&' 0>StackSetOperation.h(632): Error C7524 : 'inline' specifier cannot appear on a block-scope declaration or non-static data member 0>StackSetOperation.h(632): Error C2334 : unexpected token(s) preceding '{'; skipping apparent function body 0>StackSetOperation.h(644): Error C4430 : missing type specifier - int assumed. Note: C++ does not support default-int 0>StackSetOperation.h(644): Error C2143 : syntax error: missing ',' before '&' 0>StackSetOperation.h(650): Error C2061 : syntax error: identifier 'DeploymentTargets' 0>StackSetOperation.h(656): Error C4430 : missing type specifier - int assumed. Note: C++ does not support default-int 0>StackSetOperation.h(656): Error C2143 : syntax error: missing ',' before '&' 0>StackSetOperation.h(662): Error C2061 : syntax error: identifier 'DeploymentTargets' 0>StackSetOperation.h(835): Error C3646 : 'm_deploymentTargets': unknown override specifier 0>StackSetOperation.h(835): Error C4430 : missing type specifier - int assumed. Note: C++ does not support default-int 0>StackSetOperation.h(644): Error C4458 : declaration of 'DeploymentTargets' hides class member

asked 17 days ago40 views
2 Answers
0
Accepted Answer

Hello there! I had the same issue in 5.4, and this solution worked for me: You need to add bUseAdaptiveUnityBuild = false; to your <ProjectName>Editor.Target.cs file — after that, everything compiled successfully.

answered 16 days ago
  • Thank you! It solved my issue too!

0

The issue you're experiencing with compiling the GameLift plugin on Unreal Engine 5.5.1 appears to be related to compatibility problems between the plugin and the engine version. This is a known issue that has persisted from earlier versions of UE5.

The errors you're seeing, particularly those related to syntax errors in header files like AccountFilterType.h, DeploymentTargets.h, and StackSetOperation.h, suggest that there might be incompatibilities between the AWS SDK used by the GameLift plugin and the version of the engine you're using.

To resolve this issue, you could try the following steps:

  1. Ensure you have the latest version of the GameLift plugin installed. AWS periodically updates their plugins to maintain compatibility with newer engine versions.

  2. Check if there are any specific instructions or patches provided by AWS for using the GameLift plugin with UE 5.5.1. Sometimes, there are interim solutions provided for newer engine versions.

  3. If possible, try using an older version of the Unreal Engine (like 5.0 or 5.1) to see if the issue persists. This can help determine if it's a specific incompatibility with UE 5.5.1.

  4. Consider reaching out to AWS support or posting on their forums for the most up-to-date information on compatibility and any potential workarounds.

  5. As a last resort, you might need to manually modify the plugin code to resolve the syntax errors, but this should be done cautiously and only if you're experienced with both the plugin and engine internals.

Remember that plugin compatibility can sometimes lag behind engine updates, so it's possible that an official fix or update from AWS might be necessary to fully resolve this issue with UE 5.5.1.

Sources
Gamelift server build: File at path <path>/server.x86_64 is not executable | AWS re:Post
Amazon GameLift Resources: GameLift Feature | Amazon Web Services

profile picture
answered 17 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions