x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Getting hot-reload to work with multiple modules

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: https://github.com/Sanic/UE4TestModule

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.

Product Version: UE 4.19
Tags:
more ▼

asked Apr 26 '18 at 02:55 PM in C++ Programming

avatar image

SanicV2
26 1 2 3

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

I just ran into this too =)))

In UE editor, go Window>Developer Tools>Modules, and reload your module from that menu.

more ▼

answered Oct 14 '18 at 07:16 AM

avatar image

firzgard
1 1 2

avatar image SanicV2 Oct 15 '18 at 06:30 AM

That's a good hint. However, i got problems from time to time with it. Sometimes only old module versions got loaded + it's not that convenient to use that module instead of just hitting compile :-) Most of my (bad) experience is from using UE4 on Linux. On Windows everything behaves better.

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question