My variables are not saved. I do not see any warning/error in logging output. I have done what is described here:
https://docs.unrealengine.com/latest/INT/Programming/Basics/ConfigurationFiles/index.html
However, nothing is saved to DefaultGame.ini or any of the other .ini files.
AProjectionSettings* act = Cast<AProjectionSettings>(world->SpawnActor(AProjectionSettings::StaticClass()));
act->mWidthCm = 30;
act->SaveConfig();
UCLASS(Config=Game)
class AProjectionSettings : public AActor
{
GENERATED_BODY()
UPROPERTY(Config)
float mWidthCm;
UPROPERTY(Config)
float mHeightCm;
};