Using UE4 with CodeBlocks

IMHO Hot Reload is still in Beta Stage. It’s pretty finicky. Usually doesn’t work when you implement new functions, but sometimes it will. In any case, do not build inside IDE, build inside the editor, it will help with your debugging way better than IDE could. So, what I’ve been doing is:

  • Write a piece of code in
  • Open project up
  • Compile inside editor
  • Compile Good?
  • Shed a tear of joy!
  • Close Editor
  • Compile Bad?
  • Bang my head on keyboard.
  • Close Editor
  • Rinse and Repeat.

You are more than welcome to keep it open, and 90% of the time Hot Reload will work as intended. But if you know you’ve done something or expose to blueprints (this is the big thing I’ve noticed), then you need to reopen editor and compile. Or compile, reload, but regardless, that editor need to close and reopen up.