# Changes in C++ Enums Break Blueprint

**URL:** <https://forums.unrealengine.com/t/changes-in-c-enums-break-blueprint/403415>\
**Category:** Blueprint\
**Tags:** UEnum, unreal-engine, CPP, Blueprint, question\
**Created:** [August 31, 2017, 8:52pm UTC](https://forums.unrealengine.com/t/changes-in-c-enums-break-blueprint/403415 "2017-08-31T20:52:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_08787d181](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_08787d181](https://forums.unrealengine.com/u/anonymous_user_08787d181)\
**Post date:** [August 31, 2017, 8:52pm UTC](https://forums.unrealengine.com/t/changes-in-c-enums-break-blueprint/403415/1 "2017-08-31T20:52:10Z")

</div>

In C++ I have a UENUM Class. Any changes I make to the UENUM class including display name seems to invalidate any references in my blueprint code,

foreach enum  
enum to string  
Even uses of that enum as Blueprint function parameters

Instead I get my original type is replaced with this HOTRELOAD half types. And the code actually runs and compiles

I dont get any errors until I try to start manually switching all of the HOTRELOAD types to the actual UENUM type I created.

How can I more seamlessly update by UENUM without have to re-write my blueprint code each time I compile?

How can I more easily detect the “place holder” HOTRELOAD types?

---

<div class="post-metadata">

**Author:** ![ComposingCoder](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ComposingCoder](https://forums.unrealengine.com/u/ComposingCoder)\
**Post date:** [March 14, 2018, 9:35pm UTC](https://forums.unrealengine.com/t/changes-in-c-enums-break-blueprint/403415/2 "2018-03-14T21:35:05Z")

</div>

I just had the same issue

---

<div class="post-metadata">

**Author:** ![ComposingCoder](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ComposingCoder](https://forums.unrealengine.com/u/ComposingCoder)\
**Post date:** [March 14, 2018, 9:38pm UTC](https://forums.unrealengine.com/t/changes-in-c-enums-break-blueprint/403415/3 "2018-03-14T21:38:06Z")

</div>

I know this is old lol, but I just started freaking out that I was going to have to rewire a whole lot lol. I solved it by restarting the editor. So just know, if you change your Enum in C++, just close the editor before you compile.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_08787d181](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_08787d181](https://forums.unrealengine.com/u/anonymous_user_08787d181)\
**Post date:** [March 14, 2018, 9:50pm UTC](https://forums.unrealengine.com/t/changes-in-c-enums-break-blueprint/403415/4 "2018-03-14T21:50:21Z")

</div>

The issue happened so frequently I ended up changing my c ++ code to use bytes and defined the enumerations in blueprint. This significantly reduced compile times for me as well. Perhaps it works better in more up to date versions of unreal
