# Changing game instance causes crash

**URL:** <https://forums.unrealengine.com/t/changing-game-instance-causes-crash/299829>\
**Category:** Platform & Builds\
**Tags:** game-instance, unreal-engine, crash, question\
**Created:** [November 25, 2014, 12:58pm UTC](https://forums.unrealengine.com/t/changing-game-instance-causes-crash/299829 "2014-11-25T12:58:44Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![RumbleMonk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RumbleMonk](https://forums.unrealengine.com/u/RumbleMonk)\
**Post date:** [November 25, 2014, 12:58pm UTC](https://forums.unrealengine.com/t/changing-game-instance-causes-crash/299829/1 "2014-11-25T12:58:44Z")

</div>

I created a new game instance, which I later changed name of. This made it not show up in ‘maps and modes’ - selection showed ‘none’ now instead which made my game crash upon launch every time.

Moving my game instance to another folder also made game instance pulldown show ‘none’ in maps and modes with same crash.

I use 4.5.1 in win7.

Thanks!

---

<div class="post-metadata">

**Author:** ![MickD777](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MickD777](https://forums.unrealengine.com/u/MickD777)\
**Post date:** [November 25, 2014, 1:13pm UTC](https://forums.unrealengine.com/t/changing-game-instance-causes-crash/299829/2 "2014-11-25T13:13:07Z")

</div>

If you change name of class, be sure you also change name of files and vice versa.

Also, you can manually set GameInstance class in your game DefaultEngine.ini :

```
[/Script/EngineSettings.GameMapsSettings]
GameInstanceClass=/Script/MyGame.MyGameInstance

```

---

<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:** [November 26, 2014, 11:30pm UTC](https://forums.unrealengine.com/t/changing-game-instance-causes-crash/299829/3 "2014-11-26T23:30:47Z")

</div>

Hi RumbleMonk,

I was able to reproduce this and have logged a bug in our database for developers to look over (UE-6040). I will let you know when I see an update on it. In meantime, you’ll need to make sure to update Project Settings \> Maps & Modes \> Game Instance Class setting anytime you rename or move GameInstance you are referencing there. Thanks for report!

---

<div class="post-metadata">

**Author:** ![Azarus](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Azarus](https://forums.unrealengine.com/u/Azarus)\
**Post date:** [April 30, 2015, 1:30pm UTC](https://forums.unrealengine.com/t/changing-game-instance-causes-crash/299829/4 "2015-04-30T13:30:05Z")

</div>

Its still not fixed. editor crashes

---

<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:** [April 30, 2015, 5:42pm UTC](https://forums.unrealengine.com/t/changing-game-instance-causes-crash/299829/5 "2015-04-30T17:42:33Z")

</div>

Hi Azarus,

That’s correct, bug is still open on our end. There has been some discussion on what’s causing issue and how to fix it, but it hasn’t been looked at for a little while. I’ve increased community interest for it and emailed team looking into it. I will update this post when I see any progress on it. For now, make sure you’re updating Project Settings anytime you rename GameInstance. Thanks for your patience!

---

<div class="post-metadata">

**Author:** ![Strauzen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Strauzen](https://forums.unrealengine.com/u/Strauzen)\
**Post date:** [July 20, 2015, 8:26am UTC](https://forums.unrealengine.com/t/changing-game-instance-causes-crash/299829/6 "2015-07-20T08:26:21Z")

</div>

Hi, I encountered same problem in version 4.8.1.

I have created a Blueprint of a Game Instance and whenever I load project it is not selected, even If I change DefaultEngine.ini

Whenever I load project settings and try to change Game Instance it crashes but I found a **workaround** : If you load world settings in editor and select a different game mode then you can go to Project Settings and change game instance.

I hope this bug gets fixed…

---

<div class="post-metadata">

**Author:** ![Speuzer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Speuzer](https://forums.unrealengine.com/u/Speuzer)\
**Post date:** [October 15, 2015, 1:10pm UTC](https://forums.unrealengine.com/t/changing-game-instance-causes-crash/299829/7 "2015-10-15T13:10:17Z")

</div>

This workaround worked for me in 4.8.1. I had same issue as OP.

---

<div class="post-metadata">

**Author:** ![Jean\_Rangel](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jean\_Rangel](https://forums.unrealengine.com/u/Jean_Rangel)\
**Post date:** [November 16, 2017, 12:08am UTC](https://forums.unrealengine.com/t/changing-game-instance-causes-crash/299829/8 "2017-11-16T00:08:04Z")

</div>

I tried this workaround and solve my problem:

My BP’s names are similar to: “BP\_MyNewGameMode”. Well, I changed name to “GameInstance2” and for some reason, worked. We are in 2017, my version is 4.16.3 and still have this issue.

Epic Games is working too much for new features to increase revenue with AAA companies and forget to fix these crazy bugs.
