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"

Module cannot be loaded

I work on a 2 modules plugin.

The first contains factories that build UMediaCapture and other similar things. And while developing this module, I never face any problem.

The second contains code which runs inside an independent thread but doesn't contain any UCLASS() at all (As it seems to matter for my problem). As the first, never had a problem with it while developing it.

But once I needed to access objects inside the first from the second, I faced problems, a lot, all related to the dependencies. I think, I solved all these problems of dependencies but one is left. I cannot recompile my first module without having to restart the editor but it doesn't seem to be always the case and when I try to use the compiled code, an error occurs telling me that the DLL cannot be loaded due to an error of the OS or a bad module configuration. Forcing me to quit the editor, erase manually the content of Project/Binaries/ and then launch the editor and say yes to rebuild missing parts.

This is not convenient at all and seems more like a bug that an expected behavior.

I read that modules that contain UCLASS() force a restart of the editor but why is it not the case every time? Any help or pointers would be appreciated.

First module (left), Second module (right) both inside the module window.

First module inside the module window Second module inside the module window

Error message, suspected to be triggered by the DLL problem.

Product Version: UE 4.20
Tags:
module1.png (3.7 kB)
module2.png (4.0 kB)
errormsg.png (5.7 kB)
more ▼

asked Mar 14 '19 at 04:06 PM in C++ Programming

avatar image

AfroDiscoKappa
25 3 3 5

(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