-
Notifications
You must be signed in to change notification settings - Fork 6
Description
If developer settings isn't added this is the result:
>Module.ModularGameplayUI.cpp.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) class UClass * __cdecl Z_Construct_UClass_UPlatformSettingsManager_NoRegister(void)" (__imp_?Z_Construct_UClass_UPlatformSettingsManager_NoRegister@@YAPEAVUClass@@XZ) referenced in function "public: virtual struct FSlateBrush __cdecl UEnhancedInputActionWidget::GetIcon(void)const " (?GetIcon@UEnhancedInputActionWidget@@UEBA?AUFSlateBrush@@XZ) Module.ModularGameplayUI.cpp.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class UPlatformSettings * __cdecl UPlatformSettingsManager::GetSettingsForPlatform(class TSubclassOf<class UPlatformSettings>)const " (__imp_?GetSettingsForPlatform@UPlatformSettingsManager@@QEBAPEAVUPlatformSettings@@V?$TSubclassOf@VUPlatformSettings@@@@@Z) referenced in function "public: virtual struct FSlateBrush __cdecl UEnhancedInputActionWidget::GetIcon(void)const " (?GetIcon@UEnhancedInputActionWidget@@UEBA?AUFSlateBrush@@XZ) 12>D:\Project\Plugins\ModularGameplayUI\Binaries\Win64\UnrealEditor-ModularGameplayUI-0001.dll : fatal error LNK1120: 2 unresolved externals
Developer Settings is needed to access PlatformSettings.h
new public dependency list in ModularGameplayUI.Build.cs:
PublicDependencyModuleNames.AddRange( new string[] { "CommonLoadingScreen", "Core", "DeveloperSettings", "EnhancedInput", "GameplayTags", "ModularGameplayData", "ModularGameplayExperiences", "UIExtension" } );