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"

Linking Unreal Modules that depend on each other

I have 2 Unreal Modules in a plugin that depend on certain functionality for each other. Module A exports a class using the MACRO that is generated by Unreal. This class is consumed by Module B. Module B also exports 2 classes to be used by Module A.

In the build cs file of module A, I make Module B a public dependency. Similarly as well with Module B for module A.

My uplugin file has both of them loading phase as predefault.

Now I can successfully build the plugin, the problem is when I try to run it. It says that there is an error that may be the operating system of the module was not set correctly. I'm looking at the logs and I see that it can't find the other module B's dll.

When I put the dll in a path where it is searching, it crashes into another error saying its recreating an object outside of hot reload.

If I keep everything in module A, and export Module A's functionality into Module B, it doesn't complain and runs fine. What could be the issue here?

Product Version: UE 4.16
more ▼

asked Sep 22 '17 at 10:32 PM in C++ Programming

avatar image

11 5 8

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
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