Currently I’m setsing a build of my game and have noticed that it takes quite a long time to start up. It launches, plays the intro videos then goes to a blank map that onBeginPlay calls open MainMenu. This is to try and get a loading icon from the transition map in place.
the problem is, that after the intro videos (18 seconds in total) It hangs on a black screen for an additional 42 seconds. And I can’t attach unreal frontend until that point. So, how can I optimize this load time. What is happening at this point? a 60 second load time is a little too much.
I’ve been trying to find out why Initialization takes so long. But one way to see what is going on is you can run the game with the argument LoadTimeFile (Sandman.exe -LoadTimeFile) And once you have control of the game you can put in the console command (Stat StopFile) This will get you an UnrealStats profile of the initialization / launch of your game.