Getting hot-reload to work with multiple modules

SanicV2
Thu, 26 Apr 2018 14:55:14 +0000
Platform & Builds

Hi,

i’m working on a fresh C++ project which should have some logic separated in a different module (not a plugin).

The basic part works: I can create a separate module right next to the game module which can be compiled and loaded into the UE4Editor on startup.
However, when i change something in the module with Visual Studio, it will not get picked up by hot-reload.
Changing something in the primary game module does initiate hot-reload, so it works in general.

I have a minimal example set up here to demonstrate my approach:

GitHub

GitHub - Sanic/UE4TestModule: A minimal example for additional modules in UE4...

A minimal example for additional modules in UE4 game projects - GitHub - Sanic/UE4TestModule: A minimal example for additional modules in UE4 game projects

Is there something i need to declare on a module in order to get it flying with hot reload?

Another interesting thing: When i change something in the separate module and press the Compile Button in UE4Editor, the changes are not seen at all. The log just says that everything is up to date.

I’m using 4.19.1.

4 posts - 3 participants