C++ Hot Reload

CppHotReload - Code Plugins - Jul 25, 2020
10
4.6 out of 5 stars(10 ratings)
  • 80%
  • 0%
  • 20%
  • 0%
  • 0%

Reload header files, change your class structure, creates micro-dlls for ultra-fast reloads on big projects

  • Supported Platforms
  • Supported Engine Versions
    4.22, 4.24 - 4.26
  • Download Type
    Engine Plugin
    This product contains a code plugin, complete with pre-built binaries and all its source code that integrates with Unreal Engine, which can be installed to an engine version of your choice then enabled on a per-project basis.

Ultra-fast reload of source code no matter how big is your project, C++ Hot Reload only reloads your modified files creating micro-dlls, which allow you to change the whole class structure of your header files and see the changes reflected in your BPs and Editor properties in seconds.


Support, feedback and news on Discord: Invitation LINK


Installation

  • Install from UE4 marketplace. The plugin will auto-configure itself with your game project
  • Recommendation: deactivate Edit and Continue in Visual Studio: LINK


Before you use this plugin

Unity builds are great to build fast and this plugin is compatible with that option, however, this hides tons of issues. To reload in seconds, your files must be able to compile individually, as normal C++ code with all the proper includes or forward declarations.


How do I heal my source code?

Navigate and edit: <project_name>Editor.Target.cs:

bUseUnityBuild = false;

bUsePCHFiles = true;

Re-activate those options afterwards is you desire so.


Configure PrivatePCHHeaderFile = "ProjectName.h"; or = "ProjectNamePCH.h"


Plugin Development

UE4 hot-reload only supports game modules, this new feature is still under active development and might not work for your specific plugin. Stay tuned in Discord!

Technical Details

Features: 

  • Hot reload of header files, classes, structures, layouts, methods and variables
  • No matter how big is your project, C++ Hot Reload only reloads your modified files by creating micro-dlls
  • Add/Remove on-the-fly properties to your components to interact with the Editor

Code Modules:

  • CppHotReload [Editor]


Public information and test on GitHub: LINK

  • Test with 1000 simple component files: PROJECT LINK
  • Takes 3s to reload while with UE4 full reload takes 22s. Multiply that by your project complexity, this plugin will keep your reloads in few seconds.
  • Test done in a very normal machine: Corei7-4790 CPU @ 3.60GHz, 3601 Mhz, 4 Core(s), 8 Logical Processor(s) and the project in a SSD (Samsung 860 EVO) and Win64
  • The bigger your project the bigger your build time, but not with C++ Hot Reload.
  • Tested in big AAA projects.
  • 4.23 to 4.26.


Number of Blueprints: 0

Number of C++ Classes: 4

Network Replicated: No

Supported Development Platforms: Windows and macOS

Supported Target Build Platforms: Windows and macOS

Documentation: https://hotreload.tech/docs/ue4

Important/Additional Notes: join the Discord server if you need any help, do not hesitate to ping me for help INVITATION LINK