# Editor crashed when spawning blueprint from c++

**URL:** <https://forums.unrealengine.com/t/editor-crashed-when-spawning-blueprint-from-c/362655>\
**Category:** Blueprint\
**Tags:** editor-crash, unreal-engine, crash, bug-report, Scripting, question\
**Created:** [July 1, 2016, 2:59pm UTC](https://forums.unrealengine.com/t/editor-crashed-when-spawning-blueprint-from-c/362655 "2016-07-01T14:59:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![CClown](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CClown](https://forums.unrealengine.com/u/CClown)\
**Post date:** [July 1, 2016, 2:59pm UTC](https://forums.unrealengine.com/t/editor-crashed-when-spawning-blueprint-from-c/362655/1 "2016-07-01T14:59:47Z")

</div>

I was trying to recreate this [tutorial](https://wiki.unrealengine.com/First_Person_Shooter_C%2B%2B_Tutorial#Creating_a_GameMode) but when I added the spawning blueprint code into constructor of the GameMode and then tried to compile it the whole project crashed. When I tried to load it it crashed while loading it.  
Then I tried it again in new project and again it crashed. The stack trace in error report window was empty both times.

The project was freshly created on UE 4.12.4 without any plugins.
