# Compiling while editor is open breaks Blueprints

**URL:** <https://forums.unrealengine.com/t/compiling-while-editor-is-open-breaks-blueprints/395512>\
**Category:** C++\
**Tags:** unreal-engine, bug-report, editor, Blueprint, CPP, question, hot-reload\
**Created:** [June 6, 2017, 12:56pm UTC](https://forums.unrealengine.com/t/compiling-while-editor-is-open-breaks-blueprints/395512 "2017-06-06T12:56:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Extrawelt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Extrawelt](https://forums.unrealengine.com/u/Extrawelt)\
**Post date:** [June 6, 2017, 12:56pm UTC](https://forums.unrealengine.com/t/compiling-while-editor-is-open-breaks-blueprints/395512/1 "2017-06-06T12:56:35Z")

</div>

Hi,

i have a very strange problem with our project. Evertime i recompile the game (doesnt matter if in vs or in editor), c++ blueprint nodes have errors. It only happens in 2 different blueprints. Like they never existed. After restarting the editor, everything works fine again.

Does anyone have the same problem? I tried deleting binarys, regenerating vs files, but the problem stays.

Its very annoying, because after every c++ change i make, i have to restart the editor.

 ![140340-ue4editor_2017-06-06_14-52-21.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/1/d/c1d773885c2326ae7c456c387b46ff7aceb1188b.png)

 ![140339-ue4editor_2017-06-06_14-54-38.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/2/9/0291f0a6bbe845e0040d24a99ebebacb9a53f24d.png)

---

<div class="post-metadata">

**Author:** ![Extrawelt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Extrawelt](https://forums.unrealengine.com/u/Extrawelt)\
**Post date:** [September 30, 2017, 8:58pm UTC](https://forums.unrealengine.com/t/compiling-while-editor-is-open-breaks-blueprints/395512/2 "2017-09-30T20:58:32Z")

</div>

A few month later, i still got this problem.

When i change something in code, compile it while editor is open (-\> hot reload), some blueprints are missing c++ function. This is very very annoying, almost everytime i have to restart the editor.  
And i cant find anything related to this problem in the internet. I really dont want to abandon this project…

---

<div class="post-metadata">

**Author:** ![Ares9323](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ares9323/32/1194521_2.png) [@Ares9323](https://forums.unrealengine.com/u/Ares9323)\
**Post date:** [April 7, 2021, 10:04am UTC](https://forums.unrealengine.com/t/compiling-while-editor-is-open-breaks-blueprints/395512/3 "2021-04-07T10:04:50Z")

</div>

I can confirm this is still happening in 2021 in the latest version of UE, I have to restart the engine every time I compile from VS, did you find anything to solve this in the meanwhile?  
Thank you in advance!

---

<div class="post-metadata">

**Author:** ![Shadowriver](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shadowriver](https://forums.unrealengine.com/u/Shadowriver)\
**Post date:** [April 11, 2021, 12:45pm UTC](https://forums.unrealengine.com/t/compiling-while-editor-is-open-breaks-blueprints/395512/4 "2021-04-11T12:45:04Z")

</div>

Yes i known issue it related to fact that online normal compilation editor need to compile to different dll, load it in together with done being active hook up everything to new one while both being active and then unload old one, it a lot more troublesome process then just restart of entire things. It is it does not cover 100% cases.

in general you should avoid hot reload when you edit header files, as changes class structure on the go trips with blueprint editors sometimes. Code changes should 100% safe as they not executed when hot reload is happening at all, or else you got some editor code.

---

<div class="post-metadata">

**Author:** ![Przemek2222](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Przemek2222](https://forums.unrealengine.com/u/Przemek2222)\
**Post date:** [April 11, 2021, 12:52pm UTC](https://forums.unrealengine.com/t/compiling-while-editor-is-open-breaks-blueprints/395512/5 "2021-04-11T12:52:06Z")

</div>

Hey,  
hot reload is broken.

Either use live coding [Hot Reload and Live Coding | Unreal Engine Community Wiki](https://www.ue4community.wiki/live-compiling-in-unreal-projects-tp14jcgs)

or close and open solution each time your code changes.
