Using Live Config settings in Unreal

Live Config settings can be retrieved in Unreal via the Get Game Data Attribute blueprint nodes. For convenience, it is recommended to use the typed variants as this automatically casts the setting value to the appropriate type.

To retrieve a setting you must specify the Config Type, which dictates the Live Config category your setting falls under, and the Attribute Name, which is a .-delimited string path to your Live Config value. For instance, the following node:

queries the following value from the game.json config.

{
    "Activities": 
    {
        "MaxActivitiesPerPlayer": 5
    }
}

You must also specify a Value on Failure on your query, which is a value the node will fallback to if the config setting could not be queried (this can happen if you have a mismatched type, an incorrect config/attribute name, or if the setting has been deprecated altogether).

Last updated