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"

4.20 migration, missing referenced directories

When migrating to 4.20 I get warnings about referenced directories that do not exist: alt text

These warnings never appeared before. Why does the engine complain about plugins in its source folder, when they are already present in the project folder? Is it the expected behaviour in the new version or is it some sort of a bug? Could someone explain this to me, please?

Product Version: UE 4.20
plugins.png (10.6 kB)
more ▼

asked Aug 08 '18 at 11:55 AM in Using UE4

avatar image

345 4 4 12

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

1 answer: sort voted first

Got a mail from the marketplace team a few weeks back to update the plugin to support UE 4.20. Here is the change that might be needed (Copied the text from the mail) :

""" One recent change to note, plugins being built against engine versions 4.20 onward that need to include files from their own plugin directory must add those include paths using the ModuleDirectory property in their .build.cs. If

using System.IO;

exists at the top of the .build.cs, Publishers can use the following syntax where "MyFolder" is the name of the directory under the current module they'd like to include:

PublicIncludePaths.Add(Path.Combine(ModuleDirectory, "MyFolder")); """

more ▼

answered Aug 09 '18 at 01:08 AM

avatar image

51 3 4

avatar image Hustlan Aug 09 '18 at 08:07 AM

Thanks for the reply. I tried adding the line but to no avail. Seems like I would need to add all the plugin folders to the engine source folder

avatar image Hustlan Aug 09 '18 at 08:23 AM

Actually it worked, I just forgot to remove the line with the old syntax. Thank you very much

avatar image MJ_01 Oct 28 '18 at 05:29 AM

Not very helpful. PublicIncludePaths.Add(Path.Combine(ModuleDirectory, "[PLUGINNAME]")); nor PublicIncludePaths.Add(Path.Combine(ModuleDirectory, "[PLUGINNAME]/Public")); seems to work. What am I missing?

avatar image wanghongchang Nov 12 '18 at 07:01 AM

replace "PublicIncludePaths.Add(Path.Combine(ModuleDirectory, "[PLUGINNAME]/Public"));" with "PublicIncludePaths.Add(Path.Combine(ModuleDirectory, "Public"));"

avatar image DaneBrick Apr 28 '19 at 04:21 PM

I've added this line to the build files for all my plugins and the warning still appears. Am I missing something?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
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