Hot Reload - Epic Wiki

# Hot Reload

Rate this Tutorial:

0.00

Approved for Versions:4.10

# Contents

# Overview

Hot Reload is a feature that allows the Unreal Editor to detect newly compiled .DLLs automatically.

# General

The projects contains several configurations by default (see Compiling Game Projects), but for Hot Reload you need to use the * Editor configurations.

# Visual Studio

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.

Choose one of the * Editor configurations from the list ConfigurationList.png.

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 !

# Tips

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 ToolbarOptions.png
  • 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]

# XCode

Please edit and fill me in !

# Notes

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.

Retrieved from "https://wiki.unrealengine.com/index.php?title=Hot_Reload&oldid=17765"

Categories:

Hidden category: