Giter Club home page Giter Club logo

aws-gamekit-unreal's Introduction

AWS GameKit Plugin for Unreal

Dev Setup

Unreal/C++

The plugin is developed using Unreal version 5.0. Install before proceeding.

Game projects created in Unreal versions later than 5.0 are not backward compatible. AWS GameKit supports Unreal Engine version 5.0.

Build

Windows
  1. Create the Visual Studio Solution for your game. In File Explorer, right click on [your_game].uproject and select "Generate Visual Studio project files"

  2. Build GameKit C++ and copy over the DLL/PDB files. Make sure to checkout the matching version from the .gkcpp_version file in this repository. Note: this step is only needed if the plugin is being rebuilt. Prebuilt plugin for Windows, macOS, Android and iOS can be downloaded from this repository's Releases.

macOS
  1. Generate the Xcode workspace
/Users/Shared/Epic\ Games/UE_5.0/Engine/Build/BatchFiles/Mac/GenerateProjectFiles.sh -project <path to your .uproject file>
  1. Build GameKit C++ and copy over the libraries. Make sure to checkout the matching version from the .gkcpp_version file in this repository. Note: this step is only needed if the plugin is being rebuilt. Prebuilt plugin for Windows, macOS, Android and iOS can be downloaded from this repository's Releases.
Android and iOS

Detailed steps for building and packaging a game for Android and iOS are available in the Game Packaging section of our Production Readiness Guide.

Using the Plugin

Check the updated GUIDE for in-depth details about how to use AWS GameKit.

aws-gamekit-unreal's People

Contributors

amzn-adrian avatar nxamz avatar plamazon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aws-gamekit-unreal's Issues

aws-gamekit-unreal available for linux?

Hello, I would like to use this game kit for a multi player game and have my linux server do some interactions wiht the database.
Is it possible easily to compile all this plugin for lInux or even provide a realease that is compatible with Linux?

Thank you

Feature Request: Unreal Engine 5

Hello,

This is an awesome plugin!! Would it be possible to update the plugin to support UE5.

If you really wanted to make this more amazing than it already is, could it be possible that the UE5 Sample works with the Lyra Sample Base provided by epic?

Thanks!!!

Plugin Install

Describe the bug
My solution builds but I can't open the project in UE5. I get the following response:

Modules are missing or built with a different engine version:
AwsGameKitCore
AwsGameKitRuntime
AwsGameKitEditor

The above error leads me to attempt to add the Aws modules to MyProject.Build.cs
When adding the Aws modules to the PublicDependencyModuleNames.AddRange, the project solution no longer builds and I get the following error:

cannot open input file '..\Plugins\Marketplace\AwsGameKit\Intermediate\Build\Win64\UnrealEditor\Development\AwsGameKitCore\UnrealEditor-AwsGameKitCore.lib'

To Reproduce
Steps to reproduce the behavior:

  1. Start new C++ UE5 project named "MyProject"
  2. Unzip AWSGameKit to my UE5 Plugins/Marketplace folder
  3. Open MyProject, confirm the C++ solution builds
  4. Enable the AWSGameKit plugin, be prompted to restart project to enable it. Restart project
  5. Attempt to reopen project, receiving the first error mentioned above (Modules are missing, build in your IDE)
  6. Successfully build in my IDE, attempt to reopen project (I still receive modules are missing, build from your IDE prompt)
  7. Attempt to add the AWS module names to MyProject.Build.cs (receiving second error mentioned above with the "cannot open input file"

Expected behavior
I expect to be able to open MyProject after successfully building the .sln file after enabling the AWSPlugin

Development Environment

  • AWS GameKit v 2.0.0
  • Unreal Editor Version v 5.0.3
  • Visual Studio 2022 v 17.6.3

Desktop (please complete the following information):

  • OS: Windows

Additional context
https://docs.aws.amazon.com/gamekit/latest/UnrealDevGuide/setting-up-plugin.html
I am attempting to go through your step by step instructions as listed in the link above and cannot get past step 4. I am stuck in a loop between 3 and 4.

I have also tried removing the plugin from the engine's plugin/marketplace folder and install it only in the MyProject/plugins folder as an alternate method listed in step 2, but I can't even get the IDE to build with this suggestion.

Android 64 bit support

Hello,

I am trying to release my game to the Play Store, but the gamekit plugin doesn't support android 64bit. I need to package both 32, 64bit versions of my game. Any workaround with this issue?

Facebook login crashes on android

Hi,

When attempting to login through facebook on android the app crashes, It seems to be this assertion.

06-16 18:39:07.176 11343 11343 F DEBUG : Abort message: 'C:/development/aws-sdk-cpp/aws-cpp-sdk-core/source/http/URI.cpp:400: Aws::String Aws::Http::URI::GetURIString(bool) const: assertion "m_authority.size() > 0" failed'

After checking the SDK i can't seem to find any information on what m_authority is or does. Am i missing a permission?
The URL opens fine when running through UE4 on Windows, Although i just get a grey page which maybe related to something else.

Thanks.

Below is the stack trace.

06-16 18:39:07.176 11343 11343 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
06-16 18:39:07.176 11343 11343 F DEBUG   : Build fingerprint: 'samsung/p3sxxx/p3s:12/SP1A.210812.016/G998BXXU3BUKA:user/release-keys'
06-16 18:39:07.176 11343 11343 F DEBUG   : Revision: '22'
06-16 18:39:07.176 11343 11343 F DEBUG   : ABI: 'arm'
06-16 18:39:07.176 11343 11343 F DEBUG   : Timestamp: 2022-06-16 18:39:06.248035154+0800
06-16 18:39:07.176 11343 11343 F DEBUG   : Process uptime: 48s
06-16 18:39:07.176 11343 11343 F DEBUG   : Cmdline: com.warpstudios.incineration
06-16 18:39:07.176 11343 11343 F DEBUG   : pid: 11044, tid: 11340, name: TAsync 1  >>> com.warpstudios.incineration <<<
06-16 18:39:07.176 11343 11343 F DEBUG   : uid: 10748
06-16 18:39:07.176 11343 11343 F DEBUG   : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
06-16 18:39:07.176 11343 11343 F DEBUG   : Abort message: 'C:/development/aws-sdk-cpp/aws-cpp-sdk-core/source/http/URI.cpp:400: Aws::String Aws::Http::URI::GetURIString(bool) const: assertion "m_authority.size() > 0" failed'
06-16 18:39:07.176 11343 11343 F DEBUG   :     r0  00000000  r1  00002c4c  r2  00000006  r3  9a9faf00
06-16 18:39:07.177 11343 11343 F DEBUG   :     r4  9a9faf14  r5  9a9faef8  r6  00002b24  r7  0000016b
06-16 18:39:07.177 11343 11343 F DEBUG   :     r8  9a9faf00  r9  9a9faf10  r10 9a9faf30  r11 9a9faf20
06-16 18:39:07.177 11343 11343 F DEBUG   :     ip  00002c4c  sp  9a9faed0  lr  e75ff115  pc  e75ff128
06-16 18:39:07.177 11343 11343 F DEBUG   : backtrace:
06-16 18:39:07.177 11343 11343 F DEBUG   :       #00 pc 00039128  /apex/com.android.runtime/lib/bionic/libc.so (abort+172) (BuildId: 94f8881ea53fc63cfaf4241b4f97f0ff)
06-16 18:39:07.177 11343 11343 F DEBUG   :       #01 pc 0003939f  /apex/com.android.runtime/lib/bionic/libc.so (__assert2+22) (BuildId: 94f8881ea53fc63cfaf4241b4f97f0ff)
06-16 18:39:07.177 11343 11343 F DEBUG   :       #02 pc 0e08876d  /data/app/~~5VTGH2dvKvjAitRAL1ahfA==/com.warpstudios.incineration-2mrAhzLSXPhPMnUfpnbTew==/lib/arm/libUE4.so (Aws::Http::URI::GetURIString(bool) const+72) (BuildId: 32b63e136a8d8d101bfde5d038d5b4bfd9c91091)
06-16 18:39:07.177 11343 11343 F DEBUG   :       #03 pc 0e08bc4d  /data/app/~~5VTGH2dvKvjAitRAL1ahfA==/com.warpstudios.incineration-2mrAhzLSXPhPMnUfpnbTew==/lib/arm/libUE4.so (Aws::Http::CurlHttpClient::MakeRequest(std::__ndk1::shared_ptr<Aws::Http::HttpRequest> const&, Aws::Utils::RateLimits::RateLimiterInterface*, Aws::Utils::RateLimits::RateLimiterInterface*) const+84) (BuildId: 32b63e136a8d8d101bfde5d038d5b4bfd9c91091)
06-16 18:39:07.177 11343 11343 F DEBUG   :       #04 pc 0ed854d7  /data/app/~~5VTGH2dvKvjAitRAL1ahfA==/com.warpstudios.incineration-2mrAhzLSXPhPMnUfpnbTew==/lib/arm/libUE4.so (GameKit::Identity::FacebookIdentityProvider::makeRequest(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, Aws::Http::HttpMethod, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&)+386) (BuildId: 32b63e136a8d8d101bfde5d038d5b4bfd9c91091)
06-16 18:39:07.177 11343 11343 F DEBUG   :       #05 pc 0ed851a1  /data/app/~~5VTGH2dvKvjAitRAL1ahfA==/com.warpstudios.incineration-2mrAhzLSXPhPMnUfpnbTew==/lib/arm/libUE4.so (GameKit::Identity::FacebookIdentityProvider::GetLoginUrl()+156) (BuildId: 32b63e136a8d8d101bfde5d038d5b4bfd9c91091)
06-16 18:39:07.177 11343 11343 F DEBUG   :       #06 pc 0ed8488f  /data/app/~~5VTGH2dvKvjAitRAL1ahfA==/com.warpstudios.incineration-2mrAhzLSXPhPMnUfpnbTew==/lib/arm/libUE4.so (GameKit::Identity::Identity::GetFacebookLoginUrl(void*, void (*)(void*, char const*, char const*))+86) (BuildId: 32b63e136a8d8d101bfde5d038d5b4bfd9c91091)
06-16 18:39:07.177 11343 11343 F DEBUG   :       #07 pc 0ed847bb  /data/app/~~5VTGH2dvKvjAitRAL1ahfA==/com.warpstudios.incineration-2mrAhzLSXPhPMnUfpnbTew==/lib/arm/libUE4.so (GameKitGetFederatedLoginUrl+50) (BuildId: 32b63e136a8d8d101bfde5d038d5b4bfd9c91091)
06-16 18:39:07.177 11343 11343 F DEBUG   :       #08 pc 06ea8828  /data/app/~~5VTGH2dvKvjAitRAL1ahfA==/com.warpstudios.incineration-2mrAhzLSXPhPMnUfpnbTew==/lib/arm/libUE4.so (BuildId: 32b63e136a8d8d101bfde5d038d5b4bfd9c91091)
06-16 18:39:07.177 11343 11343 F DEBUG   :       #09 pc 06b67c38  /data/app/~~5VTGH2dvKvjAitRAL1ahfA==/com.warpstudios.incineration-2mrAhzLSXPhPMnUfpnbTew==/lib/arm/libUE4.so (TAsyncRunnable<void>::Run()+72) (BuildId: 32b63e136a8d8d101bfde5d038d5b4bfd9c91091)
06-16 18:39:07.177 11343 11343 F DEBUG   :       #10 pc 081062bc  /data/app/~~5VTGH2dvKvjAitRAL1ahfA==/com.warpstudios.incineration-2mrAhzLSXPhPMnUfpnbTew==/lib/arm/libUE4.so (FRunnableThreadPThread::Run()+164) (BuildId: 32b63e136a8d8d101bfde5d038d5b4bfd9c91091)
06-16 18:39:07.177 11343 11343 F DEBUG   :       #11 pc 07fdff98  /data/app/~~5VTGH2dvKvjAitRAL1ahfA==/com.warpstudios.incineration-2mrAhzLSXPhPMnUfpnbTew==/lib/arm/libUE4.so (FRunnableThreadPThread::_ThreadProc(void*)+84) (BuildId: 32b63e136a8d8d101bfde5d038d5b4bfd9c91091)

Can't add a function handle to the aws-gamekit

I need the access token from AwsGameKitIdentity and I've seen that the function GetToken is public in here so I wanted to expose it to the aws-gamekit-unreal plugin. But when I try to call it here what I have:
LogAwsGameKit: Error: AWS GameKit SessionManager Plugin Function (GameKitSessionManagerGetToken) is null

Here are the mofications I've done to the code:
in AwsGameKitSessionManagerWrapper.h

class AWSGAMEKITRUNTIME_API AwsGameKitSessionManagerWrapper : public AwsGameKitLibraryWrapper
{
private:
    /**
    * Function pointer handles
    */
    DEFINE_FUNC_HANDLE(GAMEKIT_SESSION_MANAGER_INSTANCE_HANDLE, GameKitSessionManagerInstanceCreate, (const char* clientConfigFile, FuncLogCallback logCb));
    DEFINE_FUNC_HANDLE(bool, GameKitSessionManagerAreSettingsLoaded, (GAMEKIT_SESSION_MANAGER_INSTANCE_HANDLE sessionManagerInstance, FeatureType featureType));
    DEFINE_FUNC_HANDLE(void, GameKitSessionManagerReloadConfigFile, (GAMEKIT_SESSION_MANAGER_INSTANCE_HANDLE sessionManagerInstance, const char* clientConfigFile));
    DEFINE_FUNC_HANDLE(void, GameKitSessionManagerReloadConfigContents, (GAMEKIT_SESSION_MANAGER_INSTANCE_HANDLE sessionManagerInstance, const char* clientConfigFileContents));
    DEFINE_FUNC_HANDLE(void, GameKitSessionManagerSetToken, (GAMEKIT_SESSION_MANAGER_INSTANCE_HANDLE sessionManagerInstance, GameKit::TokenType tokenType, const char* value));
    DEFINE_FUNC_HANDLE(void, GameKitSessionManagerInstanceRelease, (GAMEKIT_SESSION_MANAGER_INSTANCE_HANDLE sessionManagerInstance));
+   DEFINE_FUNC_HANDLE(unsigned int, GameKitSessionManagerGetToken, (GAMEKIT_SESSION_MANAGER_INSTANCE_HANDLE sessionManagerInstance, GameKit::TokenType tokenType));

+    virtual char* GameKitSessionManagerGetToken(GAMEKIT_SESSION_MANAGER_INSTANCE_HANDLE sessionManagerInstance, GameKit::TokenType tokenType);

in AwsGameKitSessionManagerWrapper.cpp :

void AwsGameKitSessionManagerWrapper::importFunctions(void* loadedDllHandle)
{
    UE_LOG(LogAwsGameKit, Display, TEXT("AwsGameKitSessionManagerWrapper::importFunctions()"));

    LOAD_PLUGIN_FUNC(GameKitSessionManagerInstanceCreate, loadedDllHandle);
    LOAD_PLUGIN_FUNC(GameKitSessionManagerInstanceRelease, loadedDllHandle);    
    LOAD_PLUGIN_FUNC(GameKitSessionManagerAreSettingsLoaded, loadedDllHandle);
    LOAD_PLUGIN_FUNC(GameKitSessionManagerReloadConfigFile, loadedDllHandle);
    LOAD_PLUGIN_FUNC(GameKitSessionManagerSetToken, loadedDllHandle);
+  LOAD_PLUGIN_FUNC(GameKitSessionManagerGetToken, loadedDllHandle);
}

unsigned int AwsGameKitSessionManagerWrapper::GameKitSessionManagerGetToken(GAMEKIT_SESSION_MANAGER_INSTANCE_HANDLE sessionManagerInstance, DISPATCH_RECEIVER_HANDLE dispatchReceiver, CharPtrCallback resultCallback, GameKit::TokenType tokenType)
{
    CHECK_PLUGIN_FUNC_IS_LOADED(SessionManager, GameKitSessionManagerGetToken, GAMEKIT_ERROR_GENERAL);
 
    return INVOKE_FUNC(GameKitSessionManagerGetToken, sessionManagerInstance, dispatchReceiver, resultCallback, tokenType);
}

and here is how I call it:

FString UAwsGameKitUserSystemProvider::GetAccessToken()
{
	FAwsGameKitRuntimeModule* AwsRuntimeModule = FModuleManager::GetModulePtr<FAwsGameKitRuntimeModule>(TEXT("AwsGameKitRuntime"));
	if (!AwsRuntimeModule)
		return TEXT("");
	
	SessionManagerLibrary const SessionManagerLib = AwsRuntimeModule->GetSessionManagerLibrary();
	FString const AccessToken = SessionManagerLib.SessionManagerWrapper->GameKitSessionManagerGetToken(SessionManagerLib.SessionManagerInstanceHandle, TokenType::AccessToken);
	UE_LOG(LogAWSAuth, Warning, TEXT("Got access token: %s"), *AccessToken);
	return AccessToken;
}

The AwsGameKitRuntimeModule is loaded correctly and I verified that the GetToken method is exported in the aws-gamekit-authentication.dll so I don't know what is the issue here.

Thanks,

iOS build error

Hello,

I can't build iOS shipping package with AWSGameKit plugin. Here is the error:

ld: warning: object file (/Users/user/Downloads/Unreal_Projects/verse/Plugins/AwsGameKit/Libraries/IOS/Release/libaws-gamekit-achievements.a(unity_0_cxx.o)) was built for newer iOS version (14.0) than being linked (12.0)
PackagingResults: Warning: object file (/Users/user/Downloads/Unreal_Projects/verse/Plugins/AwsGameKit/Libraries/IOS/Release/libaws-gamekit-achievements.a(unity_0_cxx.o)) was built for newer iOS version (14.0) than being linked (12.0)
UATHelper: Packaging (iOS):   ld: warning: object file (/Users/user/Downloads/Unreal_Projects/verse/Plugins/AwsGameKit/Libraries/IOS/Release/libaws-gamekit-authentication.a(unity_0_cxx.o)) was built for newer iOS version (14.0) than being linked (12.0)
UATHelper: Packaging (iOS):   ld: warning: object file (/Users/user/Downloads/Unreal_Projects/verse/Plugins/AwsGameKit/Libraries/IOS/Release/libaws-gamekit-core.a(unity_0_cxx.o)) was built for newer iOS version (14.0) than being linked (12.0)
UATHelper: Packaging (iOS):   ld: warning: object file (/Users/user/Downloads/Unreal_Projects/verse/Plugins/AwsGameKit/Libraries/IOS/Release/libaws-gamekit-core.a(unity_1_cxx.o)) was built for newer iOS version (14.0) than being linked (12.0)
UATHelper: Packaging (iOS):   ld: warning: object file (/Users/user/Downloads/Unreal_Projects/verse/Plugins/AwsGameKit/Libraries/IOS/Release/libaws-gamekit-core.a(unity_2_cxx.o)) was built for newer iOS version (14.0) than being linked (12.0)
UATHelper: Packaging (iOS):   ld: warning: object file (/Users/user/Downloads/Unreal_Projects/verse/Plugins/AwsGameKit/Libraries/IOS/Release/libaws-gamekit-game-saving.a(unity_0_cxx.o)) was built for newer iOS version (14.0) than being linked (12.0)
UATHelper: Packaging (iOS):   ld: warning: object file (/Users/user/Downloads/Unreal_Projects/verse/Plugins/AwsGameKit/Libraries/IOS/Release/libaws-gamekit-identity.a(unity_0_cxx.o)) was built for newer iOS version (14.0) than being linked (12.0)
PackagingResults: Warning: object file (/Users/user/Downloads/Unreal_Projects/verse/Plugins/AwsGameKit/Libraries/IOS/Release/libaws-gamekit-authentication.a(unity_0_cxx.o)) was built for newer iOS version (14.0) than being linked (12.0)
PackagingResults: Warning: object file (/Users/user/Downloads/Unreal_Projects/verse/Plugins/AwsGameKit/Libraries/IOS/Release/libaws-gamekit-core.a(unity_0_cxx.o)) was built for newer iOS version (14.0) than being linked (12.0)
PackagingResults: Warning: object file (/Users/user/Downloads/Unreal_Projects/verse/Plugins/AwsGameKit/Libraries/IOS/Release/libaws-gamekit-core.a(unity_1_cxx.o)) was built for newer iOS version (14.0) than being linked (12.0)
PackagingResults: Warning: object file (/Users/user/Downloads/Unreal_Projects/verse/Plugins/AwsGameKit/Libraries/IOS/Release/libaws-gamekit-core.a(unity_2_cxx.o)) was built for newer iOS version (14.0) than being linked (12.0)
PackagingResults: Warning: object file (/Users/user/Downloads/Unreal_Projects/verse/Plugins/AwsGameKit/Libraries/IOS/Release/libaws-gamekit-game-saving.a(unity_0_cxx.o)) was built for newer iOS version (14.0) than being linked (12.0)
PackagingResults: Warning: object file (/Users/user/Downloads/Unreal_Projects/verse/Plugins/AwsGameKit/Libraries/IOS/Release/libaws-gamekit-identity.a(unity_0_cxx.o)) was built for newer iOS version (14.0) than being linked (12.0)
UATHelper: Packaging (iOS):   ld: warning: object file (/Users/user/Downloads/Unreal_Projects/verse/Plugins/AwsGameKit/Libraries/IOS/Release/libaws-gamekit-user-gameplay-data.a(unity_0_cxx.o)) was built for newer iOS version (14.0) than being linked (12.0)
PackagingResults: Warning: object file (/Users/user/Downloads/Unreal_Projects/verse/Plugins/AwsGameKit/Libraries/IOS/Release/libaws-gamekit-user-gameplay-data.a(unity_0_cxx.o)) was built for newer iOS version (14.0) than being linked (12.0)
UATHelper: Packaging (iOS):   ld: bitcode bundle could not be generated because '/Users/user/Downloads/Unreal_Projects/verse/Plugins/AwsGameKit/Libraries/IOS/Release/libaws-gamekit-core.a(unity_0_cxx.o)' was built without full bitcode. All object files and libraries for bitcode must be generated from Xcode Archive or Install build for architecture arm6
4
UATHelper: Packaging (iOS):   clang: error: linker command failed with exit code 1 (use -v to see invocation)
PackagingResults: Error: linker command failed with exit code 1 (use -v to see invocation)
UATHelper: Packaging (iOS): Took 33.020675s to run mono, ExitCode=6
UATHelper: Packaging (iOS): UnrealBuildTool failed. See log for more details. (/Users/user/Library/Logs/Unreal Engine/LocalBuildLogs/UBT-Verse-IOS-Shipping.txt)
UATHelper: Packaging (iOS): AutomationTool exiting with ExitCode=6 (6)
UATHelper: Packaging (iOS): RunUAT ERROR: AutomationTool was unable to run successfully.
PackagingResults: Error: AutomationTool was unable to run successfully.
PackagingResults: Error: Unknown Error
LogAwsGameKit: Display: AwsGameKitAchievements::GetAchievementsLibraryFromModule()

Development environment:

AWS version: 1.1.0
Unreal engine editor version: 4.27.2
XCode version: 13.2.1 (13C100)
OS: MacOS Monterey

Best Regards,
Byambasuren

Cant deploy Identity and Authentication with Facebook Login Mechanism enabled.

Hi i am attempting to deploy with facebook activated as a login mechanism however i get the below error on the AWS cloud formation stack.

Resource handler returned message: "'MemorySize' value failed to satisfy constraint: Member must have value less than or equal to 3008 (Service: Lambda, Status Code: 400, Request ID: ebcbe62b-f833-4cd5-af54-4f691fe777fe)" (RequestToken: f9c9cdf2-214f-e173-161b-4de53965f051, HandlerErrorCode: InvalidRequest)

It deploys fine without the facebook login mechanism enabled.

I am using Unreal Engine 4.27.2.

UE5

Just wanted to let you know.
This is also working in UE5.
Changes to do is to remove the engine definition in uplugin and to remove both namespaces GAMEKIT in gamekit_user_gameplay_data_models.h and rebuild that plugin
Cheers and Thanks !

awsGameKitClientConfig.yml in shipping package

Hello Gamekit Team,

I built windows shipping package. And there was "awsGameKitClientConfig.yml"(WindowsNoEditor{ProjectName}\Content\GameKitConfig\awsGameKitClientConfig.yml) config file. I don't want this file to be easily accessible for clients. Is there a way to read these config properties from source code? Or is it ok to be visible to the client?

thanks

After removing intermediate and saved folders it crashes on Startup of the Project

I configured my project correctly with identity and UsergameplayData modules and it worked fine until I removed the Intermediate and Saved folder to make some space and because I needed a clean state to dev upon it and here is the problem I saw:
On Launch it triggers a breakpoint in AwsGameKitCredentialsLayoutDetails.cpp line 974 because the LastUsedEnv variable is empty.:

FString const lastUsedEnv = editorModule->GetFeatureResourceManager()->GetLastUsedEnvironment();

const auto lastUsedEnvironmentList = environmentOptions.FindByPredicate([this, lastUsedEnv](const FComboBoxItem comboBox) { return (*comboBox.Get() == environmentMapping[lastUsedEnv]); });

I hope that can be fixed soon because it's actually blocking the whole plugin on the editor side.

Build Error

PackagingResults: Error: unknown type name 'GAMEKIT_ACCOUNT_INSTANCE_HANDLE'

AWSGamekit 2.0.0 not working on 4.27.2

Describe the bug
I changed my old version with new 2.0.0 version and tried to build source. But it's failed.

To Reproduce
Steps to reproduce the behavior:

  1. Change old version with new 2.0.0 version.
  2. Open [ProjectName].sln
  3. Build source
  4. Error occurs

Expected behavior
It should be able to build without any error.

Logs
Log when error occured:
1>Building 23 actions with 8 processes...
1> [1/23] Module.AwsGameKitCore.cpp
1> [2/23] Module.AwsGameKitCore.gen.cpp
1> [3/23] AwsGameKitErrorCodes.cpp
1> [4/23] AwsGameKitCoreWrapper.cpp
1> [5/23] AwsGameKitSessionManagerWrapper.cpp
1> [6/23] AwsGameKitGameSaving.cpp
1> [7/23] Module.AwsGameKitRuntime.gen.1_of_2.cpp
1> [8/23] AwsGameKitGameSavingFunctionLibrary.cpp
1> [9/23] Module.AwsGameKitRuntime.gen.2_of_2.cpp
1> [10/23] UE4Editor-AwsGameKitCore.dll
1> Creating library H:\GitProjects\ProjectName\Plugins\AwsGameKit\Intermediate\Build\Win64\UE4Editor\Development\AwsGameKitCore\UE4Editor-AwsGameKitCore.suppressed.lib and object H:\GitProjects\ProjectName\Plugins\AwsGameKit\Intermediate\Build\Win64\UE4Editor\Development\AwsGameKitCore\UE4Editor-AwsGameKitCore.suppressed.exp
1> [11/23] UE4Editor-AwsGameKitCore.lib
1> Creating library H:\GitProjects\ProjectName\Plugins\AwsGameKit\Intermediate\Build\Win64\UE4Editor\Development\AwsGameKitCore\UE4Editor-AwsGameKitCore.lib and object H:\GitProjects\ProjectName\Plugins\AwsGameKit\Intermediate\Build\Win64\UE4Editor\Development\AwsGameKitCore\UE4Editor-AwsGameKitCore.exp
1> [12/23] Module.AwsGameKitRuntime.cpp
1> [13/23] UE4Editor-AwsGameKitRuntime.lib
1> Creating library H:\GitProjects\ProjectName\Plugins\AwsGameKit\Intermediate\Build\Win64\UE4Editor\Development\AwsGameKitRuntime\UE4Editor-AwsGameKitRuntime.lib and object H:\GitProjects\ProjectName\Plugins\AwsGameKit\Intermediate\Build\Win64\UE4Editor\Development\AwsGameKitRuntime\UE4Editor-AwsGameKitRuntime.exp
1> [14/23] UE4Editor-AwsGameKitRuntime.dll
1> Creating library H:\GitProjects\ProjectName\Plugins\AwsGameKit\Intermediate\Build\Win64\UE4Editor\Development\AwsGameKitRuntime\UE4Editor-AwsGameKitRuntime.suppressed.lib and object H:\GitProjects\ProjectName\Plugins\AwsGameKit\Intermediate\Build\Win64\UE4Editor\Development\AwsGameKitRuntime\UE4Editor-AwsGameKitRuntime.suppressed.exp
1> [15/23] AwsGameKitAchievementsLayoutDetails.cpp
1>H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Public\AwsGameKitFeatureControlCenter.h(61): error C2027: use of undefined type 'FeatureResourceManager'
1> H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Public\AwsGameKitFeatureControlCenter.h(11): note: see declaration of 'FeatureResourceManager'
1>H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Public\AwsGameKitFeatureControlCenter.h(61): error C2065: 'UNDEPLOYED_STATUS_TEXT': undeclared identifier
1>H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Public\AwsGameKitFeatureControlCenter.h(61): error C2027: use of undefined type 'FeatureResourceManager'
1> H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Public\AwsGameKitFeatureControlCenter.h(11): note: see declaration of 'FeatureResourceManager'
1>H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Public\AwsGameKitFeatureControlCenter.h(61): error C2065: 'ERROR_STATUS_TEXT': undeclared identifier
1>H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Public\AwsGameKitFeatureControlCenter.h(62): error C2027: use of undefined type 'FeatureResourceManager'
1> H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Public\AwsGameKitFeatureControlCenter.h(11): note: see declaration of 'FeatureResourceManager'
1>H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Public\AwsGameKitFeatureControlCenter.h(62): error C2065: 'DEPLOYED_STATUS_TEXT': undeclared identifier
1>H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Public\AwsGameKitFeatureControlCenter.h(62): error C2027: use of undefined type 'FeatureResourceManager'
1> H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Public\AwsGameKitFeatureControlCenter.h(11): note: see declaration of 'FeatureResourceManager'
1>H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Public\AwsGameKitFeatureControlCenter.h(62): error C2065: 'ROLLBACK_COMPLETE_STATUS_TEXT': undeclared identifier
1>H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Public\AwsGameKitFeatureControlCenter.h(62): error C2027: use of undefined type 'FeatureResourceManager'
1> H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Public\AwsGameKitFeatureControlCenter.h(11): note: see declaration of 'FeatureResourceManager'
1>H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Public\AwsGameKitFeatureControlCenter.h(62): error C2065: 'ERROR_STATUS_TEXT': undeclared identifier
1>H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Public\AwsGameKitFeatureControlCenter.h(63): error C2027: use of undefined type 'FeatureResourceManager'
1> H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Public\AwsGameKitFeatureControlCenter.h(11): note: see declaration of 'FeatureResourceManager'
1>H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Public\AwsGameKitFeatureControlCenter.h(63): error C2065: 'DEPLOYED_STATUS_TEXT': undeclared identifier
1>H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Public\AwsGameKitFeatureControlCenter.h(63): error C2027: use of undefined type 'FeatureResourceManager'
1> H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Public\AwsGameKitFeatureControlCenter.h(11): note: see declaration of 'FeatureResourceManager'
1>H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Public\AwsGameKitFeatureControlCenter.h(63): error C2065: 'ROLLBACK_COMPLETE_STATUS_TEXT': undeclared identifier
1>H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Public\AwsGameKitFeatureControlCenter.h(63): error C2027: use of undefined type 'FeatureResourceManager'
1> H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Public\AwsGameKitFeatureControlCenter.h(11): note: see declaration of 'FeatureResourceManager'
1>H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Public\AwsGameKitFeatureControlCenter.h(63): error C2065: 'ERROR_STATUS_TEXT': undeclared identifier
1> [16/23] AwsGameKitCredentialsLayoutDetails.cpp
1>H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Private\AwsGameKitCredentialsLayoutDetails.cpp(512): error C2027: use of undefined type 'AwsGameKitFeatureControlCenter'
1> H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Public\AwsGameKitEditor.h(8): note: see declaration of 'AwsGameKitFeatureControlCenter'
1>H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Private\AwsGameKitCredentialsLayoutDetails.cpp(512): error C2039: 'IsAnyFeatureUpdating': is not a member of 'TSharedPtr<AwsGameKitFeatureControlCenter,ESPMode::NotThreadSafe>'
1> H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Public\AwsGameKitEditor.h(36): note: see declaration of 'TSharedPtr<AwsGameKitFeatureControlCenter,ESPMode::NotThreadSafe>'
1>H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Private\AwsGameKitCredentialsLayoutDetails.cpp(512): error C2039: '__this': is not a member of 'TSharedPtr<AwsGameKitFeatureControlCenter,ESPMode::NotThreadSafe>'
1> H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Public\AwsGameKitEditor.h(36): note: see declaration of 'TSharedPtr<AwsGameKitFeatureControlCenter,ESPMode::NotThreadSafe>'
1>H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Private\AwsGameKitCredentialsLayoutDetails.cpp(852): error C2027: use of undefined type 'AwsGameKitFeatureControlCenter'
1> H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Public\AwsGameKitEditor.h(8): note: see declaration of 'AwsGameKitFeatureControlCenter'
1>H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Private\AwsGameKitCredentialsLayoutDetails.cpp(852): error C2039: 'IsAnyFeatureUpdating': is not a member of 'TSharedPtr<AwsGameKitFeatureControlCenter,ESPMode::NotThreadSafe>'
1> H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Public\AwsGameKitEditor.h(36): note: see declaration of 'TSharedPtr<AwsGameKitFeatureControlCenter,ESPMode::NotThreadSafe>'
1>H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Private\AwsGameKitCredentialsLayoutDetails.cpp(1022): error C2027: use of undefined type 'AwsCredentialsManager'
1> H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Public\AwsGameKitEditor.h(9): note: see declaration of 'AwsCredentialsManager'
1>H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Private\AwsGameKitCredentialsLayoutDetails.cpp(1022): error C2039: 'SetGameName': is not a member of 'TSharedPtr<AwsCredentialsManager,ESPMode::NotThreadSafe>'
1> H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Public\AwsGameKitEditor.h(34): note: see declaration of 'TSharedPtr<AwsCredentialsManager,ESPMode::NotThreadSafe>'
1>H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Private\AwsGameKitCredentialsLayoutDetails.cpp(1023): error C2027: use of undefined type 'AwsCredentialsManager'
1> H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Public\AwsGameKitEditor.h(9): note: see declaration of 'AwsCredentialsManager'
1>H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Private\AwsGameKitCredentialsLayoutDetails.cpp(1023): error C2039: 'SetEnv': is not a member of 'TSharedPtr<AwsCredentialsManager,ESPMode::NotThreadSafe>'
1> H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Public\AwsGameKitEditor.h(34): note: see declaration of 'TSharedPtr<AwsCredentialsManager,ESPMode::NotThreadSafe>'
1>H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Private\AwsGameKitCredentialsLayoutDetails.cpp(1024): error C2027: use of undefined type 'AwsCredentialsManager'
1> H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Public\AwsGameKitEditor.h(9): note: see declaration of 'AwsCredentialsManager'
1>H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Private\AwsGameKitCredentialsLayoutDetails.cpp(1024): error C2039: 'GetAccessKey': is not a member of 'TSharedPtr<AwsCredentialsManager,ESPMode::NotThreadSafe>'
1> H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Public\AwsGameKitEditor.h(34): note: see declaration of 'TSharedPtr<AwsCredentialsManager,ESPMode::NotThreadSafe>'
1>H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Private\AwsGameKitCredentialsLayoutDetails.cpp(1025): error C2027: use of undefined type 'AwsCredentialsManager'
1> H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Public\AwsGameKitEditor.h(9): note: see declaration of 'AwsCredentialsManager'
1>H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Private\AwsGameKitCredentialsLayoutDetails.cpp(1025): error C2039: 'GetSecretKey': is not a member of 'TSharedPtr<AwsCredentialsManager,ESPMode::NotThreadSafe>'
1> H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Public\AwsGameKitEditor.h(34): note: see declaration of 'TSharedPtr<AwsCredentialsManager,ESPMode::NotThreadSafe>'
1>H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Private\AwsGameKitCredentialsLayoutDetails.cpp(1673): error C2027: use of undefined type 'AwsCredentialsManager'
1> H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Public\AwsGameKitEditor.h(9): note: see declaration of 'AwsCredentialsManager'
1>H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Private\AwsGameKitCredentialsLayoutDetails.cpp(1673): error C2039: 'SetGameName': is not a member of 'TSharedPtr<AwsCredentialsManager,ESPMode::NotThreadSafe>'
1> H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Public\AwsGameKitEditor.h(34): note: see declaration of 'TSharedPtr<AwsCredentialsManager,ESPMode::NotThreadSafe>'
1>H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Private\AwsGameKitCredentialsLayoutDetails.cpp(1673): error C2039: '__this': is not a member of 'TSharedPtr<AwsCredentialsManager,ESPMode::NotThreadSafe>'
1> H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Public\AwsGameKitEditor.h(34): note: see declaration of 'TSharedPtr<AwsCredentialsManager,ESPMode::NotThreadSafe>'
1>H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Private\AwsGameKitCredentialsLayoutDetails.cpp(1674): error C2027: use of undefined type 'AwsCredentialsManager'
1> H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Public\AwsGameKitEditor.h(9): note: see declaration of 'AwsCredentialsManager'
1>H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Private\AwsGameKitCredentialsLayoutDetails.cpp(1674): error C2039: 'SetEnv': is not a member of 'TSharedPtr<AwsCredentialsManager,ESPMode::NotThreadSafe>'
1> H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Public\AwsGameKitEditor.h(34): note: see declaration of 'TSharedPtr<AwsCredentialsManager,ESPMode::NotThreadSafe>'
1>H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Private\AwsGameKitCredentialsLayoutDetails.cpp(1674): error C2039: '__this': is not a member of 'TSharedPtr<AwsCredentialsManager,ESPMode::NotThreadSafe>'
1> H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Public\AwsGameKitEditor.h(34): note: see declaration of 'TSharedPtr<AwsCredentialsManager,ESPMode::NotThreadSafe>'
1>H:\GitProjectsProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Private\AwsGameKitCredentialsLayoutDetails.cpp(1675): error C2027: use of undefined type 'AwsCredentialsManager'
1> H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Public\AwsGameKitEditor.h(9): note: see declaration of 'AwsCredentialsManager'
1>H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Private\AwsGameKitCredentialsLayoutDetails.cpp(1675): error C2039: 'SetAccessKey': is not a member of 'TSharedPtr<AwsCredentialsManager,ESPMode::NotThreadSafe>'
1> H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Public\AwsGameKitEditor.h(34): note: see declaration of 'TSharedPtr<AwsCredentialsManager,ESPMode::NotThreadSafe>'
1>H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Private\AwsGameKitCredentialsLayoutDetails.cpp(1675): error C2039: '__this': is not a member of 'TSharedPtr<AwsCredentialsManager,ESPMode::NotThreadSafe>'
1> H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Public\AwsGameKitEditor.h(34): note: see declaration of 'TSharedPtr<AwsCredentialsManager,ESPMode::NotThreadSafe>'
1>H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Private\AwsGameKitCredentialsLayoutDetails.cpp(1676): error C2027: use of undefined type 'AwsCredentialsManager'
1> H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Public\AwsGameKitEditor.h(9): note: see declaration of 'AwsCredentialsManager'
1>H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Private\AwsGameKitCredentialsLayoutDetails.cpp(1676): error C2039: 'SetSecretKey': is not a member of 'TSharedPtr<AwsCredentialsManager,ESPMode::NotThreadSafe>'
1> H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Public\AwsGameKitEditor.h(34): note: see declaration of 'TSharedPtr<AwsCredentialsManager,ESPMode::NotThreadSafe>'
1>H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Private\AwsGameKitCredentialsLayoutDetails.cpp(1676): error C2039: '__this': is not a member of 'TSharedPtr<AwsCredentialsManager,ESPMode::NotThreadSafe>'
1> H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Public\AwsGameKitEditor.h(34): note: see declaration of 'TSharedPtr<AwsCredentialsManager,ESPMode::NotThreadSafe>'
1>H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Private\AwsGameKitCredentialsLayoutDetails.cpp(1677): error C2027: use of undefined type 'AwsCredentialsManager'
1> H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Public\AwsGameKitEditor.h(9): note: see declaration of 'AwsCredentialsManager'
1>H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Private\AwsGameKitCredentialsLayoutDetails.cpp(1677): error C2039: 'SaveCredentials': is not a member of 'TSharedPtr<AwsCredentialsManager,ESPMode::NotThreadSafe>'
1> H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Public\AwsGameKitEditor.h(34): note: see declaration of 'TSharedPtr<AwsCredentialsManager,ESPMode::NotThreadSafe>'
1>H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Private\AwsGameKitCredentialsLayoutDetails.cpp(1677): error C2039: '__this': is not a member of 'TSharedPtr<AwsCredentialsManager,ESPMode::NotThreadSafe>'
1> H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Public\AwsGameKitEditor.h(34): note: see declaration of 'TSharedPtr<AwsCredentialsManager,ESPMode::NotThreadSafe>'
1>H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Private\AwsGameKitCredentialsLayoutDetails.cpp(1712): error C2027: use of undefined type 'AwsGameKitFeatureControlCenter'
1> H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Public\AwsGameKitEditor.h(8): note: see declaration of 'AwsGameKitFeatureControlCenter'
1>H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Private\AwsGameKitCredentialsLayoutDetails.cpp(1712): error C2039: 'ResetFeatureStatuses': is not a member of 'TSharedPtr<AwsGameKitFeatureControlCenter,ESPMode::NotThreadSafe>'
1> H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Public\AwsGameKitEditor.h(36): note: see declaration of 'TSharedPtr<AwsGameKitFeatureControlCenter,ESPMode::NotThreadSafe>'
1>H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Private\AwsGameKitCredentialsLayoutDetails.cpp(1712): error C2039: '__this': is not a member of 'TSharedPtr<AwsGameKitFeatureControlCenter,ESPMode::NotThreadSafe>'
1> H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Public\AwsGameKitEditor.h(36): note: see declaration of 'TSharedPtr<AwsGameKitFeatureControlCenter,ESPMode::NotThreadSafe>'
1>H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Private\AwsGameKitCredentialsLayoutDetails.cpp(1713): error C2027: use of undefined type 'AwsGameKitFeatureControlCenter'
1> H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Public\AwsGameKitEditor.h(8): note: see declaration of 'AwsGameKitFeatureControlCenter'
1>H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Private\AwsGameKitCredentialsLayoutDetails.cpp(1713): error C2039: 'RefreshFeatureStatuses': is not a member of 'TSharedPtr<AwsGameKitFeatureControlCenter,ESPMode::NotThreadSafe>'
1> H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Public\AwsGameKitEditor.h(36): note: see declaration of 'TSharedPtr<AwsGameKitFeatureControlCenter,ESPMode::NotThreadSafe>'
1>H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Private\AwsGameKitCredentialsLayoutDetails.cpp(1713): error C2039: '__this': is not a member of 'TSharedPtr<AwsGameKitFeatureControlCenter,ESPMode::NotThreadSafe>'
1> H:\GitProjects\ProjectName\Plugins\AwsGameKit\Source\AwsGameKitEditor\Public\AwsGameKitEditor.h(36): note: see declaration of 'TSharedPtr<AwsGameKitFeatureControlCenter,ESPMode::NotThreadSafe>'
1> [17/23] Module.AwsGameKitEditor.gen.cpp
1> [18/23] FeatureResourceManager.cpp
1> [19/23] AwsGameKitGameSavingExamples.cpp
1> [20/23] Module.AwsGameKitEditor.cpp
1>G:\ProgramFiles\Microsoft Visual Studio\2019\MSBuild\Microsoft\VC\v160\Microsoft.MakeFile.Targets(45,5): error MSB3073: The command "H:\UE4\UnrealEngine\Engine\Build\BatchFiles\Build.bat -Target="ProjectNameEditor Win64 Development -Project="H:\GitProjects\ProjectName\ProjectName.uproject"" -Target="ShaderCompileWorker Win64 Development -Quiet" -WaitMutex -FromMsBuild" exited with code 6.
1>Done building project "ProjectName.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 2 up-to-date, 0 skipped ==========

Development Environment

  • Version of the AWS GameKit : 2.0.0
  • Unreal Editor Version : 4.27.2
  • IDE and Version : Visual Studio 2019 16.11.7

Desktop (please complete the following information):

  • OS: Windows
  • Version: 10

We can't register through the AWS Game Kit?

We can't register a new user through the Aws Game Kit?

First I set up all environnements correctly, including Cognito deployment.
Then I simply did a Register from the blueprints.
Here are the logs that I get:

LogAwsGameKit: Display: UAwsGameKitIdentityBlueprintFunctionLibrary::Register()
LogAwsGameKit: Error: [@22752]~ Guest Registration not yet implemented

Does it mean we can't register through your plugin?

Thanks

How to change user password through SDK?

Hello
I have successfully integrated Gamekit SDK, but how can i change user information? For example: Password, email, username etc.
Also can i customize register function? I need to add more field to it.
Thanks

Can't package 32 and 64 bit combined Android App Bundle

Hello

I am trying to upload my app to google play store. But I can't package an Android App Bundle that combines 32 and 64 bits. I can't build the package while enabling both "Support armv7" and "Support arm64" in project settings.

I opened this issue before. But it doesn't resolve my problem.
Since August 2021, play store doesn't support APK and separate uploading for 32/64 bit. Source

thanks
Byambasuren

GameKit Plugin crashes when setting Game Title

Describe the bug
I'm unable to get the plugin to work on my UE 5 project. I created a blank 3rd person template with C++ and enabled the plugin - when I try to give a name to my project it crashes my UE editor.

To Reproduce
Steps to reproduce the behavior:

  1. Create C++ 3rd person template
  2. Install the AwsGameKit Plugin to: MyProject/Plugins/Marketplace
  3. Verified Plugin is Enabled in the UE5 Editor
  4. Open MyProject.Build.cs and add update the Public Dependency Module: PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "HeadMountedDisplay", "AwsGameKitCore", "AwsGameKitRuntime" });
  5. When I open the plugin from Project Settings and add a Game Title is crashes my editor

Expected behavior
The expected behaivor is that I can add my AWS credentials and setup the plugin

Logs
If possible, any output logs captured for when the problem occurred.
When launching the editor from my Rider IDE I see these logs:

Log          LogAwsGameKit             FeatureResourceManager::Initialize()
Log          LogAwsGameKit             FGameKitLogging::AttachLogger()
Display      LogAwsGameKit             FAwsGameKitEditorModule::BootstrapExistingState()
Display      LogClass                  IntProperty FAchievement::CurrentValue is not initialized properly. Module:AwsGameKitRuntime File:Public/Models/AwsGameKitAchievementModels.h
Display      LogClass                  IntProperty FAchievement::RequiredAmount is not initialized properly. Module:AwsGameKitRuntime File:Public/Models/AwsGameKitAchievementModels.h
Display      LogClass                  IntProperty FAchievement::Points is not initialized properly. Module:AwsGameKitRuntime File:Public/Models/AwsGameKitAchievementModels.h
Display      LogClass                  IntProperty FAchievement::OrderNumber is not initialized properly. Module:AwsGameKitRuntime File:Public/Models/AwsGameKitAchievementModels.h
Display      LogClass                  BoolProperty FAchievement::IsStateful is not initialized properly. Module:AwsGameKitRuntime File:Public/Models/AwsGameKitAchievementModels.h
Display      LogClass                  BoolProperty FAchievement::IsSecret is not initialized properly. Module:AwsGameKitRuntime File:Public/Models/AwsGameKitAchievementModels.h
Display      LogClass                  BoolProperty FAchievement::IsHidden is not initialized properly. Module:AwsGameKitRuntime File:Public/Models/AwsGameKitAchievementModels.h
Display      LogClass                  BoolProperty FAchievement::IsEarned is not initialized properly. Module:AwsGameKitRuntime File:Public/Models/AwsGameKitAchievementModels.h
Display      LogClass                  BoolProperty FAchievement::IsNewlyEarned is not initialized properly. Module:AwsGameKitRuntime File:Public/Models/AwsGameKitAchievementModels.h
Display      LogClass                  IntProperty FListAchievementsRequest::PageSize is not initialized properly. Module:AwsGameKitRuntime File:Public/Models/AwsGameKitAchievementModels.h
Display      LogClass                  BoolProperty FListAchievementsRequest::WaitForAllPages is not initialized properly. Module:AwsGameKitRuntime File:Public/Models/AwsGameKitAchievementModels.h
Display      LogClass                  IntProperty FUpdateAchievementRequest::IncrementBy is not initialized properly. Module:AwsGameKitRuntime File:Public/Models/AwsGameKitAchievementModels.h
Display      LogClass                  IntProperty FAwsGameKitOperationResult::Status is not initialized properly. Module:AwsGameKitRuntime File:Public/Models/AwsGameKitCommonModels.h
Display      LogClass                  Int64Property FGameSavingSlot::SizeLocal is not initialized properly. Module:AwsGameKitRuntime File:Public/Models/AwsGameKitGameSavingModels.h
Display      LogClass                  Int64Property FGameSavingSlot::SizeCloud is not initialized properly. Module:AwsGameKitRuntime File:Public/Models/AwsGameKitGameSavingModels.h
Display      LogClass                  Int64Property FGameSavingSlot::LastModifiedLocal is not initialized properly. Module:AwsGameKitRuntime File:Public/Models/AwsGameKitGameSavingModels.h
Display      LogClass                  Int64Property FGameSavingSlot::LastModifiedCloud is not initialized properly. Module:AwsGameKitRuntime File:Public/Models/AwsGameKitGameSavingModels.h
Display      LogClass                  Int64Property FGameSavingSlot::LastSync is not initialized properly. Module:AwsGameKitRuntime File:Public/Models/AwsGameKitGameSavingModels.h
Display      LogClass                  EnumProperty FGameSavingSlot::SlotSyncStatus is not initialized properly. Module:AwsGameKitRuntime File:Public/Models/AwsGameKitGameSavingModels.h
Display      LogClass                  EnumProperty FPollAndRetrieveFederatedTokensRequest::IdentityProvider is not initialized properly. Module:AwsGameKitRuntime File:Public/Models/AwsGameKitIdentityModels.h
Display      LogClass                  IntProperty FPollAndRetrieveFederatedTokensRequest::Timeout is not initialized properly. Module:AwsGameKitRuntime File:Public/Models/AwsGameKitIdentityModels.h
Display      LogClass                  EnumProperty FSetTokenRequest::TokenType is not initialized properly. Module:AwsGameKitRuntime File:Public/Models/AwsGameKitSessionManagerModels.h
Display      LogClass                  22 Uninitialized script struct members found including 0 object properties

Unreal Crash Reporter:

Unhandled Exception: 0xe06d7363

KERNELBASE
VCRUNTIME140D
aws_gamekit_core!boost::filesystem::detail::`anonymous namespace'::process_status_failure() [D:\Tapas\src\boost_1_76_0\libs\filesystem\src\operations.cpp:724]
aws_gamekit_core!boost::filesystem::detail::status() [D:\Tapas\src\boost_1_76_0\libs\filesystem\src\operations.cpp:2653]
aws_gamekit_core!boost::filesystem::exists() [D:\Tapas\src\boost_1_76_0\boost\filesystem\operations.hpp:190]
aws_gamekit_core!GameKit::GameKitSettings::GameKitSettings() [C:\Users\buchandl\Desktop\ue5_release\AwsGameTechGdkCppSdk\aws-gamekit-core\source\aws\gamekit\core\gamekit_settings.cpp:22]
aws_gamekit_core!GameKitSettingsInstanceCreate() [C:\Users\buchandl\Desktop\ue5_release\AwsGameTechGdkCppSdk\aws-gamekit-core\source\aws\gamekit\core\exports.cpp:382]
UnrealEditor_AwsGameKitEditor!FeatureResourceManager::InitializeSettings() [C:\Users\tanne\Documents\Unreal Projects\MyProject\Plugins\Marketplace\AwsGameKit\Source\AwsGameKitEditor\Private\FeatureResourceManager.cpp:89]
UnrealEditor_AwsGameKitEditor!FeatureResourceManager::SetGameName() [C:\Users\tanne\Documents\Unreal Projects\MyProject\Plugins\Marketplace\AwsGameKit\Source\AwsGameKitEditor\Private\FeatureResourceManager.cpp:134]
UnrealEditor_AwsGameKitEditor!AwsGameKitCredentialsLayoutDetails::PopulateCustomEnvironments() [C:\Users\tanne\Documents\Unreal Projects\MyProject\Plugins\Marketplace\AwsGameKit\Source\AwsGameKitEditor\Private\AwsGameKitCredentialsLayoutDetails.cpp:957]
UnrealEditor_AwsGameKitEditor!AwsGameKitCredentialsLayoutDetails::ProjectNameStateTransitionCallback() [C:\Users\tanne\Documents\Unreal Projects\MyProject\Plugins\Marketplace\AwsGameKit\Source\AwsGameKitEditor\Private\AwsGameKitCredentialsLayoutDetails.cpp:1394]
UnrealEditor_AwsGameKitEditor!TBaseRawMethodDelegateInstance<0,AwsGameKitCredentialsLayoutDetails,enum EActiveTimerReturnType __cdecl(double,float),FDefaultDelegateUserPolicy>::Execute() [C:\Program Files\Epic Games\UE_5.0\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:453]

Development Environment

  • Version of the AWS GameKit [e.g. 1.1]: 2.0.0
  • Unreal Editor Version [e.g. 4.27.2]: 5.0.3
  • IDE and Version [e.g. Visual Studio 2019 16.11.7]: tried Visual Studio 2019 and Rider IDE

Desktop (please complete the following information):

  • OS: [e.g. Windows or Mac] Windows
  • Version [e.g. 22] 10

Additional context
I'm relatively new to Unreal, but have AWS experience.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.