# How do you debug launch time

**URL:** <https://forums.unrealengine.com/t/how-do-you-debug-launch-time/334359>\
**Category:** Community & Industry Discussion\
**Tags:** Debugging, debug, profiling, frontend, loading, unreal-engine, question\
**Created:** [October 5, 2015, 11:30pm UTC](https://forums.unrealengine.com/t/how-do-you-debug-launch-time/334359 "2015-10-05T23:30:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Justin.Dooley](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/justin.dooley/32/1194553_2.png) [@Justin.Dooley](https://forums.unrealengine.com/u/Justin.Dooley)\
**Post date:** [October 5, 2015, 11:30pm UTC](https://forums.unrealengine.com/t/how-do-you-debug-launch-time/334359/1 "2015-10-05T23:30:28Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Decterous](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Decterous](https://forums.unrealengine.com/u/Decterous)\
**Post date:** [February 18, 2016, 6:20pm UTC](https://forums.unrealengine.com/t/how-do-you-debug-launch-time/334359/2 "2016-02-18T18:20:44Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![g0n](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/g0n/32/632978_2.png) [@g0n](https://forums.unrealengine.com/u/g0n)\
**Post date:** [June 12, 2018, 6:09pm UTC](https://forums.unrealengine.com/t/how-do-you-debug-launch-time/334359/3 "2018-06-12T18:09:58Z")

</div>

Did u fix that?  
Which was the problem?

---

<div class="post-metadata">

**Author:** ![ianFisch](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ianFisch](https://forums.unrealengine.com/u/ianFisch)\
**Post date:** [November 16, 2023, 5:18am UTC](https://forums.unrealengine.com/t/how-do-you-debug-launch-time/334359/4 "2023-11-16T05:18:45Z")

</div>

That is not very helpful. It’s just a bunch of threads resting.
