# Changing Game Mode on Open Level

**URL:** <https://forums.unrealengine.com/t/changing-game-mode-on-open-level/485400>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [June 26, 2021, 12:56pm UTC](https://forums.unrealengine.com/t/changing-game-mode-on-open-level/485400 "2021-06-26T12:56:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Clif101337](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Clif101337](https://forums.unrealengine.com/u/Clif101337)\
**Post date:** [June 26, 2021, 12:56pm UTC](https://forums.unrealengine.com/t/changing-game-mode-on-open-level/485400/1 "2021-06-26T12:56:20Z")

</div>

Hello,  
Currently I have my game set to change the Game Mode on Open Level. This works successfully as I can see the Game Mode and Game State Actors in the Level Details Panel have changed. The odd thing is that when I change the Game Mode it does not create a new Player State or Player Controller(Those are missing in the Level Details). Why are they not getting created and am I doing something wrong? They are included in the new Game Mode.

---

<div class="post-metadata">

**Author:** ![Micky](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Micky](https://forums.unrealengine.com/u/Micky)\
**Post date:** [June 28, 2021, 1:59pm UTC](https://forums.unrealengine.com/t/changing-game-mode-on-open-level/485400/2 "2021-06-28T13:59:18Z")

</div>

Take in consideration that each level can have his own gamemode asigned, So when you open a level it load his own gamemode.  
So, after the level is opened, i don’t know if you can change the game mode. But if you can do it, probably this don’t restart the level, so probaly don’t spawn your character and controller. But ias i says before, i don’t know!.  
When i need a special gamemode i asign it to the level itself, and when i open the level, everything works well.

---

<div class="post-metadata">

**Author:** ![dacabad](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dacabad/32/1069249_2.png) [@dacabad](https://forums.unrealengine.com/u/dacabad)\
**Post date:** [June 28, 2021, 2:37pm UTC](https://forums.unrealengine.com/t/changing-game-mode-on-open-level/485400/3 "2021-06-28T14:37:46Z")

</div>

Micky is completely right. Unfortunately changing the GameMode in runtime does not trigger spawning those things. That is handled by the level during load, so in case you want to do that, my guess is you will have to reload the level. Instead, what you can do is manually override the GameMode you want to use when loading the level. I recommend you check the following post:

> [@Changing gamemode at runtime.](https://forums.unrealengine.com/t/changing-gamemode-at-runtime/81504/8):
>
> I want to make sure this is high in search results. As eXi mentions above, you can select the game mode via the options string with Game Mode Class Aliases set in the Default Modes section of Maps & Modes in Project Settings. Be sure to click the down arrow to expand the section. Different game modes in the same level for UE4. Multiple game modes for the same level. Although he’s mentioning the OpenLevel URL, this is also possible with the options string in the OpenLevel node, which might b…
