Approved for Versions:4.10
Hot Reload is a feature that allows the Unreal Editor to detect newly compiled .DLLs automatically.
The projects contains several configurations by default (see Compiling Game Projects), but for Hot Reload you need to use the * Editor configurations.
You will first need to Generate_Visual_Studio_Project, then open the solution (from the explorer or using File -> Open Visual Studio.). If you open a single file from the editor, the build configurations will not be available.
Right-click your game project and choose Build to compile. If you selected an * Editor configuration the the build output will contain Compiling game modules for hot reload !
The editor will then reload the DLL as soon as the project is compiled !
The toolbar doesn't have a "Build" button by default, to add one follow these steps :
- Click the small arrow at the right of the toolbar
- Click customize
- Go to the Commands tab
- Toolbar -> Standard (or the one you are currently using)
- Add a new command -> Build -> Generate the solution
- Click the new button in the preview, and click Move Down until the place is satisfying enough for you.
This steps are detailed in [How to: Customize Menus and Toolbars in Visual Studio]
Please edit and fill me in !
The "Compile" button in the editor will not use the same build folder as Visual, so be consistent and either always build from Visual/XCode or always from the Unreal Editor. That way you will not be recompiling untouched files.