aws / aws-gamekit-unreal

The AWS GameKit Plugin for Unreal
https://docs.aws.amazon.com/gamekit/latest/DevGuide/getting-started.html
Apache License 2.0
69 stars 19 forks source link

GameKit Plugin crashes when setting Game Title #26

Open TannerIsBender opened 1 year ago

TannerIsBender commented 1 year ago

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 AwsGameKitPlugin 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

Desktop (please complete the following information):

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