If I reload a config using ReloadConfig() it doesnt seem to reload the changed values in the .ini file. Only after a restart of the Editor. How can this be forced?
What i generally want is a way to be able to detect of a .ini file is changed (file time) and then reload its properties and have associated callback functions called. Is this possible?
Sometimes, the value is loaded, but often just 0, eventhough the value in the Game.ini is not 0.
Changing the .ini file while editor is open, save it and then calling ReloadConfig() or LoadConfig() does nothing.
UCLASS(Config=Game)
class UDisplayOut : public UCameraComponent
{
UPROPERTY(Config)
float mOutputAspect;
};
If using: PerObjectConfig it becomes a total disaster. Everytime unreal decides to rename the parent actor (Dome) in this case to for instance Dome_C1 or Dome_C3 it generateds new data for the objects resulting in not loading the correct values.