I am beating my head on a wall at this point, and assume I am overlooking something obvious. I have a UDeveloperSettings class set up, and everything seems to be fine in the code, and everything’s properly in the DefaultGame.ini, but for some reason, when I open my project, it absolutely refuses to load what’s in the ini.
Since I assume info is useful:
These work fine (as examples that are in the same header and config files):
// You should ensure that at least this is set for palettes, it's our last resort!
UPROPERTY(EditAnywhere, Config, Category="Rpg Dev Kit|Styling|Palettes")
TSoftObjectPtr<UColorPaletteSet> FallbackPalette;
// If you plan to have customizable UI, you should absolutely set this! (And you should anyway!)
UPROPERTY(EditAnywhere, Config, Category="Rpg Dev Kit|Styling|Palettes")
TSoftObjectPtr<UColorPaletteSet> CustomPalette;
// Add any additional palettes you want available system-wide here
UPROPERTY(EditAnywhere, Config, Category="Rpg Dev Kit|Styling|Palettes")
TArray<TSoftObjectPtr<UColorPaletteSet>> ConfigPalettes;
UPROPERTY(EditAnywhere, Config, Category="Rpg Dev Kit|Styling|Text Styles")
TSoftObjectPtr<UGlobalTextStyles> FallbackTextStyles;
UPROPERTY(EditAnywhere, Config, Category="Rpg Dev Kit|Styling|Text Styles")
TArray<TSoftObjectPtr<UGlobalTextStyles>> ConfigTextStyles;
UPROPERTY(EditAnywhere, Config, Category="Rpg Dev Kit|Styling|Button Sounds")
TSoftObjectPtr<URdkButtonSoundscape> FallbackButtonSounds;
UPROPERTY(EditAnywhere, Config, Category="Rpg Dev Kit|Styling|Button Sounds")
TArray<TSoftObjectPtr<URdkButtonSoundscape>> ConfigButtonSounds;
But these don’t:
UPROPERTY(EditAnywhere, Config, Category = "Rpg Dev Kit|System|Difficulty"/*, meta=(Categories ="Rpg.Core.Preferences.Difficulty")*/)
FGameplayTag DefaultDifficultyTag;
UPROPERTY(EditAnywhere, Config, Category = "Rpg Dev Kit|System|Difficulty"/*, meta=(Categories="Rpg.Core.Preferences.Difficulty", AllowedClasses = "/Script/RpgDevKit.RdkDifficultySettings")*/)
TMap<FGameplayTag, TSoftObjectPtr<class URdkDifficultySettings>> Difficulties;
UPROPERTY(EditAnywhere, Config, Category="Rpg Dev Kit|System|Preferences", meta=(Categories="Rdk.Utility.Prompts"))
TMap<FGameplayTag, FText> SystemTextPrompts;
The commented meta specifiers are part of me troubleshooting this for a few hours at this point, in case they were somehow what the conflict was, which seems to not be the case.
They are all correct in the ini. like so:
DefaultDifficultyTag=(TagName="Rpg.Core.Preferences.Difficulty.2Normal")
Difficulties=(((TagName="Rpg.Core.Preferences.Difficulty.0LetsPlay"), "/Game/Rpg/Subsystems/Difficulty/Rdk_Diff_0_LetsPlay.Rdk_Diff_0_LetsPlay"),((TagName="Rpg.Core.Preferences.Difficulty.1Easy"), "/Game/Rpg/Subsystems/Difficulty/Rdk_Diff_1_EasyCheesy.Rdk_Diff_1_EasyCheesy"),((TagName="Rpg.Core.Preferences.Difficulty.2Normal"), "/Game/Rpg/Subsystems/Difficulty/Rdk_Diff_2_NormieExpo.Rdk_Diff_2_NormieExpo"),((TagName="Rpg.Core.Preferences.Difficulty.3Hard"), "/Game/Rpg/Subsystems/Difficulty/Rdk_Diff_3_HarderDaddy.Rdk_Diff_3_HarderDaddy"),((TagName="Rpg.Core.Preferences.Difficulty.4Extreme"), "/Game/Rpg/Subsystems/Difficulty/Rdk_Diff_4_ISaidHARDER.Rdk_Diff_4_ISaidHARDER"),((TagName="Rpg.Core.Preferences.Difficulty.5Impossible"), "/Game/Rpg/Subsystems/Difficulty/Rdk_Diff_5_WHOHURTYOU.Rdk_Diff_5_WHOHURTYOU"))
VariableAccessErrorMode=Warning
SystemTextPrompts=(((TagName="Rdk.Utility.Prompts.QuitTitle"), NSLOCTEXT("[/Script/RpgDevKit]", "FEB78B06400D511118D29E8A60A7E149", "Let the darkness overwhelm?")),((TagName="Rdk.Utility.Prompts.QuitBody"), NSLOCTEXT("[/Script/RpgDevKit]", "433F192A4A26E74E9966499C2870BD99", "Hopefully, your deeds have been recorded...")))
FallbackPalette=/Game/System/Styling/Palettes/GlobalSys/Sys_Abyss.Sys_Abyss
CustomPalette=/Game/System/Styling/Palettes/GlobalSys/Sys_Custom.Sys_Custom
FallbackTextStyles=/Game/System/Styling/TextStyles/System/Sys_Simple.Sys_Simple
FallbackButtonSounds=/Game/System/Styling/ButtonSfx/System/Sys_Simple.Sys_Simple
Neverminding my questionable placeholder names… this is what I see on launching my project. Including after clean (re)building, deleting the Saved folder a few dozen times, etc.
Any ideas of what I’m doing wrong here? Everything except those three variables save and load up correctly, and one that isn’t working is just a gameplay tag. I can even import from GameDefault.Ini, and everything will load fine, but I assume this will cause me future grief if I don’t figure out why it’s not loading on its own properly.
Very confused and frustrated at this point, and would love to be told I’m forgetting something obvious.
Thanks in advance.