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"));
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"));