# Deleting a Blueprinted GameInstance causes Stack Overflow / Project Corruption

**URL:** <https://forums.unrealengine.com/t/deleting-a-blueprinted-gameinstance-causes-stack-overflow-project-corruption/327651>\
**Category:** Blueprint\
**Tags:** corrupt, gameinstance, unreal-engine, crash, bug-report, UE4, question\
**Created:** [August 4, 2015, 6:20pm UTC](https://forums.unrealengine.com/t/deleting-a-blueprinted-gameinstance-causes-stack-overflow-project-corruption/327651 "2015-08-04T18:20:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jambax](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jambax/32/904177_2.png) [@Jambax](https://forums.unrealengine.com/u/Jambax)\
**Post date:** [August 4, 2015, 6:20pm UTC](https://forums.unrealengine.com/t/deleting-a-blueprinted-gameinstance-causes-stack-overflow-project-corruption/327651/1 "2015-08-04T18:20:09Z")

</div>

Easy to reproduce:

- Create a GameInstance Blueprint in  
your project, then navigate to  
Project Settings \> Maps and Modes \>  
Game Instance.

This can potentially be serious if  
user does not know how to  
manually enter GameInstance in  
DefaultEngine.ini file, or  
doesn’t use source control. Its  
impossible to recover from otherwise  
and can effectively corrupt a  
project.

---

<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:** [August 5, 2015, 2:26pm UTC](https://forums.unrealengine.com/t/deleting-a-blueprinted-gameinstance-causes-stack-overflow-project-corruption/327651/2 "2015-08-05T14:26:22Z")

</div>

Hey TheJamsh,

This appears to be related to crash in 4.8.1 that occurred when using any of World Settings GameMode override options. class caching was broken, leading to it getting stuck in a loop and overflowing stack. There are a few cases in which this still occurs after 4.8.2 hotfix that addressed that crash (UE-17673), and this looks like one of them. I can reproduce this following your steps in 4.8.3, but it’s been fixed internally and I can verify it’s already fixed in 4.9 Preview 2. Let me know if you see this happen again whenever you upgrade to 4.9.

Thanks!

---

<div class="post-metadata">

**Author:** ![Jambax](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jambax/32/904177_2.png) [@Jambax](https://forums.unrealengine.com/u/Jambax)\
**Post date:** [August 12, 2015, 4:45pm UTC](https://forums.unrealengine.com/t/deleting-a-blueprinted-gameinstance-causes-stack-overflow-project-corruption/327651/3 "2015-08-12T16:45:19Z")

</div>

Nice 🙂 Thanks !
