C++ Hot Reload is a plugin that allows the Unreal Editor to detect modified classes and build them automatically allowing you to modify the headers files and the classes structures for Windows and macOS. C++ Hot Reload will only build the modified files to speed up your work in large projects or plugins.
You know the plugin is installed when you see in your tool bar the following similar image
- UE4.23, UE4.24 and UE4.25
- Supports macOS and Win64
- Windows, testd on Visual Studio 2017 and 2019
- macOS, Xcode latest version (compatibility mode right now, it's "slow")
- Only 64bits
- PCH based for fast reload, even .h files changing the classes layouts it's able to reload in the gap of 2 seconds
Enter in the Discord channel and send your sample class to get support!
- ActorComponent
- SceneComponent
- Install the plugin using the UE marketplace
- For even faster hot reloads tell C++ Hot Reload the name of your PCH file
- The default mode doesn't use PCH for compatibility.
- However if you want to reload your files in the gap of a couple of seconds modify CppHotReloadConfig.h
- Add the line #define CPP_HOT_RELOAD_PCH_NAME "Test.h"
- Change "Test.h" to fit what you has been defined as PrivatePCHHeaderFile in your game Build.cs.
- If you don't have that variable defined, add PrivatePCHHeaderFile = "NAME_OF_YOUR_PCH.h"; and use it in your source code
Waiting for the user save a file
Unreal Header Tool is running (when you modify a .h file)
You have no PCH file configured for your project and files, the reload will be much slower
Building!
For any other question: contact AT hotreload.tech or file an issue here in GitHub
- What's C++ Hot Reload: https://www.youtube.com/watch?v=_k5E0Fh5lJo
- v0.9.97 - Speed up reload time to only 2 seconds using PCH and macOS support: https://www.youtube.com/watch?v=461sRJIhvh4
- v0.9.96 - Change Class Structure UProperty: https://www.youtube.com/watch?v=y-cGRAY0OLY
- v0.9.96 - Reload NON UProperty, private variables: https://www.youtube.com/watch?v=G9WnryVNDDA