Run `stat fps` on project startup

Hi! How can I make Unreal run stat fps console command when it’s starting? I’ve found that it’s possible if starting unreal from console and using -ExecCmds=“stat fps”, but it means that project users have to start it in a bit unusual way.

Is there a way to make it execute it through configs or something else? I’ve tried to add it to DefaultEngine.ini, but it had no effect.

1 Like

In the editor settings, you have

It puts it here

1 Like

That will work, thank you very much!

1 Like

Found another solution - if someone wants not to just show fps, but execute other commands during project startup, it’s possible to create Blueprint Utility Object and add this to Config\DefaultEditorPerProjectUserSettings.ini to run this blueprint on startup:

[/Script/Blutility.EditorUtilitySubsystem] StartupObjects=/Game/StartupCommands.StartupCommands

See example in the video below:

1 Like