Console Command Variables Resetting After Restart?

Hi all thanks in advance for the help! Using UE 5.6

I can enable SSAO using these commands:
r.Lumen.DiffuseIndirect.SAO=1
r.Lumen.ScreenProbeGather.ShortRangeAO=0

However after restarting the engine, they are reset to their default, disabled values. Here’s what I’ve tried to enable them by default so far:

  • Adding the commands to DefaultEngine.ini
  • Adding the commands to ConsoleVariables.ini
  • Executing the above console commands on Event Begin Play in the level blueprint.

Despite these efforts, the engine resets these console variables every time I restart. Any guidance here is appreciated :slight_smile:

Thanks!

Maybe some plugin or added content in your level is changing the variables. If I had to guess, it’s probably some kind of sky or environmental lighting based asset. Check anything related to lighting and post processing. Blueprint construction scripts can also change variables like this. If you use systems like Ultra Dynamic Sky, it has its own PPV component attached to it that might have overrides and it also might have some construction script logic that executes console commands. Tons of other common marketplace items might do similar things.