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.
How does TextureRenderTarget2D get TArray<uint8> type data?
How do I set a material as a post-processing material?
UMG RichText not appear image when packaged
Why does the REMOVE method of map container remove elements have memory leaks?
How to delete some elements correctly when deleting an array loop?
What is the difference between Camera and CineCamera?
Why can't I get the canvas panel slot geometry information in UMG?
Why does UV setting float2(1,1) display incorrectly in the material's custom node?
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 |