# Engine crash when changing "gamemode override"

**URL:** <https://forums.unrealengine.com/t/engine-crash-when-changing-gamemode-override/322960>\
**Category:** Platform & Builds\
**Tags:** gamemode, unreal-engine, crash, bug-report, editor, UE4, question\
**Created:** [June 25, 2015, 3:25am UTC](https://forums.unrealengine.com/t/engine-crash-when-changing-gamemode-override/322960 "2015-06-25T03:25:09Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lewa1000g](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lewa1000g](https://forums.unrealengine.com/u/Lewa1000g)\
**Post date:** [June 25, 2015, 3:25am UTC](https://forums.unrealengine.com/t/engine-crash-when-changing-gamemode-override/322960/1 "2015-06-25T03:25:09Z")

</div>

So im trying to change game mode in each level of a project that I am working on and ever since I have upgraded to 4.8.1 when I click on GameMode Override in world setting and a game mode is already in there whole engine will crash and a bar will pop up saying “rebuilding class heiarchy” and it will not allow me to change gamemode through override. is there another way of changing game mode from level to level or is this only way? if so how do I fix it?

 ![47779-crash_image.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/c/5/6c55f5ca541b6704bd105fd3b456ee060a762b7e.jpeg)

Here is an image of crash and error report. also this does not happen in 4.7.6, so it may be a bug.

---

<div class="post-metadata">

**Author:** ![popawheelie](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@popawheelie](https://forums.unrealengine.com/u/popawheelie)\
**Post date:** [June 25, 2015, 4:26am UTC](https://forums.unrealengine.com/t/engine-crash-when-changing-gamemode-override/322960/2 "2015-06-25T04:26:44Z")

</div>

I am getting same crash after 4.8.1. Although my game crashes with no report to desktop.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_33800a51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_33800a51](https://forums.unrealengine.com/u/anonymous_user_33800a51)\
**Post date:** [June 25, 2015, 2:31pm UTC](https://forums.unrealengine.com/t/engine-crash-when-changing-gamemode-override/322960/3 "2015-06-25T14:31:16Z")

</div>

Hi all,

Thanks for report! I was able to reproduce this in 4.8.1 as well as our internal build, and I’ve created a bug report for crash (UE-17673). I’ll post here as soon as I see an update on it and have a timeline for fix.

In meantime, it appears that if you open GameMode Blueprint once and compile/save it, editor won’t crash when making adjustments in World Settings tab. Please let us know if this is not case for you.

Thanks!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_33800a51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_33800a51](https://forums.unrealengine.com/u/anonymous_user_33800a51)\
**Post date:** [June 25, 2015, 3:09pm UTC](https://forums.unrealengine.com/t/engine-crash-when-changing-gamemode-override/322960/4 "2015-06-25T15:09:30Z")

</div>

Additional workaround:  
Select gameMode in Content Browser, and next to the “GameMode Override”, use arrow button to use that asset.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a27d8fed](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a27d8fed](https://forums.unrealengine.com/u/anonymous_user_a27d8fed)\
**Post date:** [June 26, 2015, 2:29pm UTC](https://forums.unrealengine.com/t/engine-crash-when-changing-gamemode-override/322960/5 "2015-06-26T14:29:40Z")

</div>

Unfortunately opening GameMode Blueprint, compiling and saving didn’t solve issue for me.

Setting default GameMode in project settings seems to have solved issue though.

---

<div class="post-metadata">

**Author:** ![rXp](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rXp](https://forums.unrealengine.com/u/rXp)\
**Post date:** [June 30, 2015, 12:58pm UTC](https://forums.unrealengine.com/t/engine-crash-when-changing-gamemode-override/322960/6 "2015-06-30T12:58:48Z")

</div>

I have same issue when changing default playercontroller but workarounds are not working and I can’t override project settings (I can but it would break game)  
Although I was able to modify it by selecting new controller and clicking on “set selected asset…” (an arrow pointing to left at right of combobox)

---

<div class="post-metadata">

**Author:** ![Lewa1000g](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lewa1000g](https://forums.unrealengine.com/u/Lewa1000g)\
**Post date:** [June 30, 2015, 2:38pm UTC](https://forums.unrealengine.com/t/engine-crash-when-changing-gamemode-override/322960/7 "2015-06-30T14:38:39Z")

</div>

I did find one way of working around it to change gamemode go to that panel and next to gamemode override dropdown menu click small YELLOW arrow to reset override to “none” once you have done that you can change overrides and not have engine crash you only have to do this first time

---

<div class="post-metadata">

**Author:** ![smokeBONES](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@smokeBONES](https://forums.unrealengine.com/u/smokeBONES)\
**Post date:** [June 30, 2015, 9:57pm UTC](https://forums.unrealengine.com/t/engine-crash-when-changing-gamemode-override/322960/8 "2015-06-30T21:57:09Z")

</div>

If you press any of them, its starts to rebuild and crashes

---

<div class="post-metadata">

**Author:** ![Dannyk90](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dannyk90](https://forums.unrealengine.com/u/Dannyk90)\
**Post date:** [July 11, 2015, 5:21pm UTC](https://forums.unrealengine.com/t/engine-crash-when-changing-gamemode-override/322960/9 "2015-07-11T17:21:47Z")

</div>

thank you lewa100g that worked 😃

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_9f4576f5](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_9f4576f5](https://forums.unrealengine.com/u/anonymous_user_9f4576f5)\
**Post date:** [July 12, 2015, 4:11pm UTC](https://forums.unrealengine.com/t/engine-crash-when-changing-gamemode-override/322960/10 "2015-07-12T16:11:58Z")

</div>

Any ETA for this bug fix?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_33800a51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_33800a51](https://forums.unrealengine.com/u/anonymous_user_33800a51)\
**Post date:** [July 13, 2015, 3:29pm UTC](https://forums.unrealengine.com/t/engine-crash-when-changing-gamemode-override/322960/11 "2015-07-13T15:29:09Z")

</div>

We don’t have a firm date yet, but a fix will be included in an upcoming hotfix. Shouldn’t be too much longer.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_94a535c9](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_94a535c9](https://forums.unrealengine.com/u/anonymous_user_94a535c9)\
**Post date:** [July 13, 2015, 8:53pm UTC](https://forums.unrealengine.com/t/engine-crash-when-changing-gamemode-override/322960/12 "2015-07-13T20:53:33Z")

</div>

So weird… I logged in to report this very bug and saw it as first one.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_94a535c9](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_94a535c9](https://forums.unrealengine.com/u/anonymous_user_94a535c9)\
**Post date:** [July 13, 2015, 9:00pm UTC](https://forums.unrealengine.com/t/engine-crash-when-changing-gamemode-override/322960/13 "2015-07-13T21:00:14Z")

</div>

Hi ,  
This is a very similar issue, don’t know if it should be in a different thread or not. But I have a game mode defined in C++ and a player controller class defined in C++. When I create a new project, I can’t select my C++ game mode override and then select my player controller class because it is grayed out. But if I create a new game mode blueprint in GameMode Override area by clicking the ‘+’ symbol, default pawn class, HUD class, player controller class, and game state class are no longer grayed out, I can change them. So I have to create this new blueprint game mode, and then select my C++ player controller class, and _then_ select my C++ game mode, and everything appears to work. When selecting my C++ game mode, four “Selected GameMode” combo boxes are grayed out again, however my player controller class still shows my C++ player controller class because that is what was selected when I selected my C++ game mode.

Let me know if I should create a new thread.

Thanks!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_33800a51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_33800a51](https://forums.unrealengine.com/u/anonymous_user_33800a51)\
**Post date:** [July 13, 2015, 9:17pm UTC](https://forums.unrealengine.com/t/engine-crash-when-changing-gamemode-override/322960/14 "2015-07-13T21:17:18Z")

</div>

It doesn’t appear to be related. This crash simply involves clicking GameMode Override options in World Settings tab in Editor. You’re running into a completely different issue, sounds like. You can open a new post in Bug Reports, and we’ll assign someone to look into it.

I don’t believe it’s a bug, but I’m not 100% sure on that yet so I’ll get some C++ savvy people on it. Thanks!

---

<div class="post-metadata">

**Author:** ![Not\_A\_Company](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Not\_A\_Company](https://forums.unrealengine.com/u/Not_A_Company)\
**Post date:** [July 28, 2017, 8:28am UTC](https://forums.unrealengine.com/t/engine-crash-when-changing-gamemode-override/322960/15 "2017-07-28T08:28:01Z")

</div>

Sorry for opening this up again, but I’m getting kind of same problem. (Using 4.16.2 source build)

Whenever I switch my gamemode override to NONE and then try to play game, editor crashes. Any solution to this?

It does not crash when I run it as a single process. But I do not want that (for dedicated server testing purposes)

---

<div class="post-metadata">

**Author:** ![Not\_A\_Company](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Not\_A\_Company](https://forums.unrealengine.com/u/Not_A_Company)\
**Post date:** [July 28, 2017, 8:40am UTC](https://forums.unrealengine.com/t/engine-crash-when-changing-gamemode-override/322960/16 "2017-07-28T08:40:21Z")

</div>

Crash reporter is giving me this:

```
Assertion failed: PIEInstanceID != -1 [File:C:\Users\Hover\Desktop\UE4Source\Engine\Source\Runtime\Engine\Private\World.cpp] [Line: 2557] 

UE4Editor_Core!FDebug::AssertFailed() [c:\users\hover\desktop\ue4source\engine\source\runtime\core\private\misc\assertionmacros.cpp:349]
UE4Editor_Engine!UWorld::ConvertToPIEPackageName() [c:\users\hover\desktop\ue4source\engine\source\runtime\engine\private\world.cpp:2558]
UE4Editor_Engine!UWorld::RenameToPIEWorld() [c:\users\hover\desktop\ue4source\engine\source\runtime\engine\private\world.cpp:2531]
UE4Editor_Engine!UEngine::LoadMap() [c:\users\hover\desktop\ue4source\engine\source\runtime\engine\private\unrealengine.cpp:10150]
UE4Editor_Engine!UEngine::Browse() [c:\users\hover\desktop\ue4source\engine\source\runtime\engine\private\unrealengine.cpp:9563]
UE4Editor_Engine!UEngine::TickWorldTravel() [c:\users\hover\desktop\ue4source\engine\source\runtime\engine\private\unrealengine.cpp:9752]
UE4Editor_UnrealEd!UEditorEngine::Tick() [c:\users\hover\desktop\ue4source\engine\source\editor\unrealed\private\editorengine.cpp:1572]
UE4Editor_UnrealEd!UUnrealEdEngine::Tick() [c:\users\hover\desktop\ue4source\engine\source\editor\unrealed\private\unrealedengine.cpp:386]
UE4Editor!FEngineLoop::Tick() [c:\users\hover\desktop\ue4source\engine\source\runtime\launch\private\launchengineloop.cpp:3119]
UE4Editor!GuardedMain() [c:\users\hover\desktop\ue4source\engine\source\runtime\launch\private\launch.cpp:166]
UE4Editor!GuardedMainWrapper() [c:\users\hover\desktop\ue4source\engine\source\runtime\launch\private\windows\launchwindows.cpp:134]
UE4Editor!WinMain() [c:\users\hover\desktop\ue4source\engine\source\runtime\launch\private\windows\launchwindows.cpp:210]
UE4Editor!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:259]
kernel32
ntdll
```
