On running my game for the first time, I’d like the initialize the resolution of the game to match the native res of the player’s display (i use ConsoleCommand(“setres 1920x1080”)).
I’ve tried added this call to the PostBeginPlay() of my GameInfo class, but it seems it have no effect here.
Because the implementation of ConsolCommand() is hidden in native code, I can’t investigate when is the first time I’m able to start using this function.
Obviously I can just defer this call with a timer (and then it works fine), but i ideally want to handle this the very instant the game starts.
Any ideas where/when I can start using ConsoleCommand() when the game starts?