# HotReload Problem

**URL:** <https://forums.unrealengine.com/t/hotreload-problem/481083>\
**Category:** C++\
**Tags:** unreal-engine, compile, bug-report, CPP, question, hot-reload\
**Created:** [March 30, 2021, 2:39am UTC](https://forums.unrealengine.com/t/hotreload-problem/481083 "2021-03-30T02:39:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ACBYTES](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ACBYTES](https://forums.unrealengine.com/u/ACBYTES)\
**Post date:** [March 30, 2021, 2:39am UTC](https://forums.unrealengine.com/t/hotreload-problem/481083/1 "2021-03-30T02:39:17Z")

</div>

After each compilation on my code,  
1: No hot-reload happens. (I’ve tried everything, load code editor after engine, before engine, using engine, etc…)

2: C++ scripts attached to Blueprint classes face and error because of the manual hot-reloads and an error like this pops up: “of type HOTRELOADED ClassName 0 reference doesn’t match ClassName”. In this case you should remove everything from the class and attach everything from scratch.

Am I missing something here?

---

<div class="post-metadata">

**Author:** ![xsmokumsx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@xsmokumsx](https://forums.unrealengine.com/u/xsmokumsx)\
**Post date:** [March 30, 2021, 4:42am UTC](https://forums.unrealengine.com/t/hotreload-problem/481083/2 "2021-03-30T04:42:58Z")

</div>

HotReloads are typically just a bad way to do anything from what I’ve seen. When I took Tom Loomans unreal course, he even says in the course several times, its just better to completely restart the editor each time you make any kind of change that will effect blueprints and c++ functionality. Hope this helps.

---

<div class="post-metadata">

**Author:** ![KuroPhoenix7](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KuroPhoenix7](https://forums.unrealengine.com/u/KuroPhoenix7)\
**Post date:** [March 30, 2021, 5:28am UTC](https://forums.unrealengine.com/t/hotreload-problem/481083/3 "2021-03-30T05:28:08Z")

</div>

Hot reload is bad. Have you tried live coding instead?

---

<div class="post-metadata">

**Author:** ![ACBYTES](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ACBYTES](https://forums.unrealengine.com/u/ACBYTES)\
**Post date:** [April 3, 2021, 7:43am UTC](https://forums.unrealengine.com/t/hotreload-problem/481083/4 "2021-04-03T07:43:07Z")

</div>

Yeah it’s awful. I have used LiveCoding and that doesn’t seem to work perfectly either. Changes to the body of each class will leave LiveCoding paralyzed as it will fail to link the patches. It might be perfect in the future but I don’t find it useful. Thanks for mentioning it though.
