Skip to content

Developer Settings dependency needs to be added in PublicDependencyModuleNames in ModularGameplayUI for UE5.6 #1

@PYSX-Physix

Description

@PYSX-Physix

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" } );

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions