Often during dev, I want god mode turned on by default. In Unreal, god mode is a cheat command and not a cvar and so I cannot add it to ConsoleVariables.ini.
Without modifying any code/BP (i.e. with default UE5), is there a debug way to have god mode be turned on when launching the game?
Indeed I am talking about using PIE (which ConsoleVariables.ini doesn’t support either).
What we’ve ended up settling on is adding a new cvar that uses a FConsoleVariableDelegate::CreateLambda in order to set it. We’re also combining this with the Console Variables Editor plugin to make it a smoother workflow.