void FFrontendFilter_GameplayTags::LoadSettings(const FString& IniFilename, const FString& IniSection, const FString& SettingsString) { IGameplayTagsModule& GameplayTagModule = IGameplayTagsModule::Get(); TArray<FString> TagStrings; GConfig->GetArray(*IniSection, *(SettingsString + TEXT(".Tags")), /*out*/ TagStrings, IniFilename); TagContainer->RemoveAllTags(); for (const FString& TagString : TagStrings) { FGameplayTag NewTag = GameplayTagModule.RequestGameplayTag(*TagString, /*bErrorIfNotFound=*/ false); if (NewTag.IsValid()) { TagContainer->AddTag(NewTag); } } }