Hotfixes are resetting ConsoleVariables.ini

Every time after I installed a hotfix I wonder why stuff is not working and then after a while I remember that hotfixes are resetting the ConsoleVariables.ini in the Engine folder.

It’s empty by default, so there is no reason to reset it. And it’s the only place where some stuff like DFGI or LPV can be enabled, so deleting all that out of there can break stuff in the game.

Hello John,

Could you run me through the exact process that you follow when you update your engine?

Hi Sean, sure!

  1. Open the Launcher
  2. Go To Library Tab
  3. Click Update on selected Engine Version

Just to be clear, I’m talking about the config files at “C:\Program Files (x86)\Epic Games\4.10\Engine\Config”. Not the ones in the project folder.

Hi John,

This seems like an issue with the location of the ConsoleVariables.ini file. We do not recommend users making changes in the engine config files directly as they are volatile and prone to getting updated in an update.

Unfortunately, the ConsoleVariables.ini file setup doesnt follow the other config file setup, so there is no easy work around. It may be worth you adding your console variables to a UserEngine.ini inside your projects game folder. Just add your CVars under the SystemSettings section like so:

[SystemSettings]
r.MyCVar=1
p.MyOtherCVar=2

I hope this helps.
/

Oh, Ive also entered a bug for this to be addressed. UE-24492. Hopefully it will get some attention soon.

Hi , thanks very much, it seems to work with using the UserEngine.ini! :slight_smile: