HotReload Problem

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?

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.

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.

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