# Open Level Gamemode Not Working in Package

**URL:** <https://forums.unrealengine.com/t/open-level-gamemode-not-working-in-package/433890>\
**Category:** Blueprint\
**Tags:** gamemode, open-level, unreal-engine, Blueprint, question\
**Created:** [September 16, 2018, 5:35am UTC](https://forums.unrealengine.com/t/open-level-gamemode-not-working-in-package/433890 "2018-09-16T05:35:12Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![khazum](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@khazum](https://forums.unrealengine.com/u/khazum)\
**Post date:** [September 16, 2018, 5:35am UTC](https://forums.unrealengine.com/t/open-level-gamemode-not-working-in-package/433890/1 "2018-09-16T05:35:12Z")

</div>

![253851-gamemode-1.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/4/4/e440888243687a6598639fcfe3754d5514c90436.jpeg)

Hello all,

I have a simple boolean that chooses whether to open a level with a game mode set to one gamemode (fp) or another (3p)

I am using these options in my open level nodes (for my training level):

?Game=/Game/Character/FPTrain.FPtrain\_C  
or  
?Game=/Game/Character/3PTrain.3Ptrain\_C

the two gamemodes have different default pawns (a fp pawn and a 3p pawn.)

it works perfectly in the editor every time. but when i package it for windows64, the binary doesn’t change the gamemode or it’s pawn (it uses the level’s default.) it doesn’t matter whether i use ABSOLUTE or not in my open level node. i don’t remember this being a problem prior to 4.19

any thoughts?

thanks in advance,  
-k

---

<div class="post-metadata">

**Author:** ![khazum](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@khazum](https://forums.unrealengine.com/u/khazum)\
**Post date:** [October 20, 2018, 3:29am UTC](https://forums.unrealengine.com/t/open-level-gamemode-not-working-in-package/433890/2 "2018-10-20T03:29:22Z")

</div>

OK, after a month of research and trying different things, I’ve come across the answer if anyone else ever has this problem.

In my Project Settings / Packaging I was using the “List of maps to include in packaged build” and since all 4 of my gamemodes weren’t explicitly being called in one of my 5 maps, the gamemode wasn’t being included in the built package. Two solutions;

1. Don’t specify any maps in the Project Settings “List of maps to include in packaged build” - you will get a larger package because any demo maps or unused maps will be included but the gamemodes will all be there, OR

2. Make blank maps for each gamemode and include them in your “List of maps to include in packaged build”

Hope this help someone in the future, because it really hung me up for a month on this.

Thanks,  
-Khaz

---

<div class="post-metadata">

**Author:** ![khazum](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@khazum](https://forums.unrealengine.com/u/khazum)\
**Post date:** [October 20, 2018, 3:29am UTC](https://forums.unrealengine.com/t/open-level-gamemode-not-working-in-package/433890/3 "2018-10-20T03:29:34Z")

</div>

OK, after a month of research and trying different things, I’ve come across the answer if anyone else ever has this problem.

In my Project Settings / Packaging I was using the “List of maps to include in packaged build” and since all 4 of my gamemodes weren’t explicitly being called in one of my 5 maps, the gamemode wasn’t being included in the built package. Two solutions;

1. Don’t specify any maps in the Project Settings “List of maps to include in packaged build” - you will get a larger package because any demo maps or unused maps will be included but the gamemodes will all be there, OR

2. Make blank maps for each gamemode and include them in your “List of maps to include in packaged build”

Hope this help someone in the future, because it really hung me up for a month on this.

Thanks,  
-Khaz

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_3fb0256a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3fb0256a](https://forums.unrealengine.com/u/anonymous_user_3fb0256a)\
**Post date:** [February 20, 2019, 1:34pm UTC](https://forums.unrealengine.com/t/open-level-gamemode-not-working-in-package/433890/4 "2019-02-20T13:34:50Z")

</div>

Thanks dude. I ended up adding a game mode class variable to my game instance and cloning out a bunch of unconnected set variable nodes in there with a reference to each of my game modes.

Cheers.

---

<div class="post-metadata">

**Author:** ![Pisabi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pisabi](https://forums.unrealengine.com/u/Pisabi)\
**Post date:** [April 11, 2019, 2:23pm UTC](https://forums.unrealengine.com/t/open-level-gamemode-not-working-in-package/433890/5 "2019-04-11T14:23:55Z")

</div>

Thanks dude. Very useful.

---

<div class="post-metadata">

**Author:** ![wishpoosh](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@wishpoosh](https://forums.unrealengine.com/u/wishpoosh)\
**Post date:** [September 7, 2024, 4:16pm UTC](https://forums.unrealengine.com/t/open-level-gamemode-not-working-in-package/433890/6 "2024-09-07T16:16:25Z")

</div>

Thanks so much for this, been trying to figure it out for hours!
