A plugin created in 4.19 automatically includes an entry for the plugin's Public directory in the PublicIncludePaths array in the Plugin.Build.cs file. Plugins created in 4.20 no longer automatically add this entry. When a 4.19 project that includes a plugin is upgraded to 4.20, a build warning no occurs stating that the included directory does not exist. However, the path in the warning is in relation to the root Engine directory instead of the root plugin directory. The same warning appears if a new include path is added to the PublicIncludePaths array.
RESULT:
The build produces a warning similar to the following: warning : Referenced directory 'D:\Source\UnrealEngine-4.20.0-release\Engine\Source\MyPlugin\Public' does not exist.
EXPECTED:
The build completes without any warning.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-62040 in the post.
10 |
Component | UE - Foundation - Cpp Tools - UnrealBuildTool |
---|---|
Affects Versions | 4.20, 4.21 |
Created | Jul 23, 2018 |
---|---|
Resolved | Jul 26, 2018 |
Updated | Aug 1, 2018 |