# Packaged Game Doesn't Load Default Game Level on Start

**URL:** <https://forums.unrealengine.com/t/packaged-game-doesnt-load-default-game-level-on-start/360034>\
**Category:** Platform & Builds\
**Tags:** build, unreal-engine, packaging-projects, question\
**Created:** [June 8, 2016, 3:17am UTC](https://forums.unrealengine.com/t/packaged-game-doesnt-load-default-game-level-on-start/360034 "2016-06-08T03:17:54Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rheq](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rheq](https://forums.unrealengine.com/u/Rheq)\
**Post date:** [June 8, 2016, 3:17am UTC](https://forums.unrealengine.com/t/packaged-game-doesnt-load-default-game-level-on-start/360034/1 "2016-06-08T03:17:54Z")

</div>

When we package our game (Windows x64) with the Default Game level set in Editor (DefaultEngine.ini) the Map isn’t loaded on start up of the game executable.

I’ve attached the log, perhaps there is something you guys can find that we’ve missed, both the Packaging and the Games log.

 ![93796-defaultmap.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/5/f/95fb91e80546be7a932ef78b570d0703472ebd27.jpeg)

Appreciate the help!

-Craig

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [June 8, 2016, 2:26pm UTC](https://forums.unrealengine.com/t/packaged-game-doesnt-load-default-game-level-on-start/360034/2 "2016-06-08T14:26:55Z")

</div>

Hi Rheq,

The Editor StartUp Map will load the map chosen into the level viewport when editing the project. In your case, the Map\_MainMenu should be loaded when you open the project .exe after packaging. Is this not occurring? If not, what map is being loaded?

---

<div class="post-metadata">

**Author:** ![Rheq](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rheq](https://forums.unrealengine.com/u/Rheq)\
**Post date:** [June 8, 2016, 10:24pm UTC](https://forums.unrealengine.com/t/packaged-game-doesnt-load-default-game-level-on-start/360034/3 "2016-06-08T22:24:57Z")

</div>

Yeah we are expecting the Main Menu map to be loaded on the .exe being opened, instead we are getting a black screen. Using ‘stat levels’ console command it gives us this:

![93904-mapname.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/c/6/ec6ea28e6f98b6efa6644aa2ee147abc203468e4.jpeg)

---

<div class="post-metadata">

**Author:** ![Rheq](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rheq](https://forums.unrealengine.com/u/Rheq)\
**Post date:** [June 13, 2016, 1:19am UTC](https://forums.unrealengine.com/t/packaged-game-doesnt-load-default-game-level-on-start/360034/4 "2016-06-13T01:19:40Z")

</div>

Anyone have a fix for this?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [June 13, 2016, 6:10pm UTC](https://forums.unrealengine.com/t/packaged-game-doesnt-load-default-game-level-on-start/360034/5 "2016-06-13T18:10:30Z")

</div>

Have you changed the name of the map recently or made any updates? Try running fix up redirectors to see if it fixes the error.

---

<div class="post-metadata">

**Author:** ![Rheq](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rheq](https://forums.unrealengine.com/u/Rheq)\
**Post date:** [June 13, 2016, 9:49pm UTC](https://forums.unrealengine.com/t/packaged-game-doesnt-load-default-game-level-on-start/360034/6 "2016-06-13T21:49:03Z")

</div>

I tried on a fresh map, same issues. Fixed up all the redirectors in the package and the problem persists.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [June 15, 2016, 2:21pm UTC](https://forums.unrealengine.com/t/packaged-game-doesnt-load-default-game-level-on-start/360034/7 "2016-06-15T14:21:56Z")

</div>

- Have you tried this in a clean, blank project with no additional content or is it limited to this project?

- What device are you deploying to?

---

<div class="post-metadata">

**Author:** ![Rheq](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rheq](https://forums.unrealengine.com/u/Rheq)\
**Post date:** [June 16, 2016, 11:41pm UTC](https://forums.unrealengine.com/t/packaged-game-doesnt-load-default-game-level-on-start/360034/8 "2016-06-16T23:41:17Z")

</div>

Yeah, it seems to be limited to just this project, we’ve built other projects before with no issues. We are building for Win64.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [June 17, 2016, 5:53pm UTC](https://forums.unrealengine.com/t/packaged-game-doesnt-load-default-game-level-on-start/360034/9 "2016-06-17T17:53:47Z")

</div>

Can you send me the project? I’ll be happy to see if I can reproduce this error on my end.

---

<div class="post-metadata">

**Author:** ![Rheq](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rheq](https://forums.unrealengine.com/u/Rheq)\
**Post date:** [June 19, 2016, 10:57pm UTC](https://forums.unrealengine.com/t/packaged-game-doesnt-load-default-game-level-on-start/360034/10 "2016-06-19T22:57:43Z")

</div>

Gutting the project to send over I was able to isolate the issue to our game instance. Here is the cut down project, it should fail to work built:

link text

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [June 21, 2016, 4:16pm UTC](https://forums.unrealengine.com/t/packaged-game-doesnt-load-default-game-level-on-start/360034/11 "2016-06-21T16:16:28Z")

</div>

Hey Rheq-

I’ve taken a quick look at the project and one thing that jumps out at me is that the packaged version interacts with Steam where playing in PIE doesn’t. I’m still looking over the project to find why the game instance is affecting the main menu, but you may want to look at your Steam code to see if there is a connection there.

---

<div class="post-metadata">

**Author:** ![Rheq](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rheq](https://forums.unrealengine.com/u/Rheq)\
**Post date:** [June 21, 2016, 10:00pm UTC](https://forums.unrealengine.com/t/packaged-game-doesnt-load-default-game-level-on-start/360034/12 "2016-06-21T22:00:31Z")

</div>

Yeah - this is intentional because we use Steam for our multiplayer session creation, and as PIE doesn’t do session creation it was pointless to use the subsystem. The main menu map itself doesn’t utilize the Steam subsystem, only the points past that (host game, join game).

Standalone from the editor works on the main menu with both the Steam Subsystem or Null if you aren’t logged in to Steam. The packaged game won’t work with Steam or the fallback.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [June 22, 2016, 7:38pm UTC](https://forums.unrealengine.com/t/packaged-game-doesnt-load-default-game-level-on-start/360034/13 "2016-06-22T19:38:52Z")

</div>

Hey Rheq-

After additional testing I found that a call to the parent of ULunarGameInstance::StartGameInstance() was missing. Adding a call to the parent class will fix the problem.

Cheers

---

<div class="post-metadata">

**Author:** ![Rheq](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rheq](https://forums.unrealengine.com/u/Rheq)\
**Post date:** [June 22, 2016, 8:57pm UTC](https://forums.unrealengine.com/t/packaged-game-doesnt-load-default-game-level-on-start/360034/14 "2016-06-22T20:57:22Z")

</div>

Fantastic - that works a treat. Class needs a good tidy up too.

Cheers  
Craig
