UE4 not loading config variables

Hi there,

I’ve got a bit of an issue. I’ve made a ActorComponent class, like so:

UCLASS(Config = BallisticMovement)
class GRASSLANDS_API UBallisticMovementComponent : public UProjectileMovementComponent
	UPROPERTY(BlueprintReadWrite, Config, Category = BallisticData)
		float m_Diameter;

I’ve also created a config .ini in \Config, called DefaultBallisticBase, with this data:


however, when I reload the project to load the config, only an empty BallisticMovement.ini is created in \Saved\Config\Windows, and the m_Diameter variable is not set to the default value from the config.

What else must I do to load the variable?

Okay, I didn’t realize you had to call LoadConfig() from the constructor.