How do you disable hot reload?

I’ve run into a rare issue where a component in a blueprint may break (preventing any data in the details pane of the specific component to be saved). This results in the component needing to be deleted and re-added to the blueprint for its details values to be edited again.

My hypothesis is that it may be related to hot reloading (as I often will save my C++ code while accidently in editor’s play mode).

To test further I’d like to disable hot reload. Is this possible?

1 Like

Yes, with -NoHotReload option in UBT command line, you can see UBT commands in properties of VS project in NMake section.

But really there no point of it with editor open, without hotreload you will have linker error as compiler won’t be able to change original dlls that are currently loaded by editor. So most effective method is simply build without editor open which automatically disables hot reload

I’m new to Unreal, so please excuse my ignorance, but is hot reload related to the “compile” button in the editor in anyway? My assumption was that hot reload was just that it would see the new saved files and try to update while in play mode in the editor, and that compile button was something separate. I assumed this because pressing the compile button doesn’t say “hot reload” in its notification pop up.

Also, could you please supply a link to how to edit the UBT command line exactly? This is something I don’t have any experience with, and I can’t find “UBT” in the NMake section. To be clear, I am using the launcher version of Unreal (not the source).