How does the project reference the header file of the plug-in under the ue4 engine?


Other than things you showed, you should also include plugin’s module into your code. You doing it by adding module name into your *.build.cs file, in PublicDependencyModuleNames or PrivateDependencyModuleNames arrays.

After that it should be only a matter of correct path to header, which should begin starting from source folder of plugin. In your case it should be:

#include "VPUtilities/Public/%AdditionalFoldersOverTheEdgeOfScreenShot%/VPFullscreenUserWidgetActor.h"

(unless plugin specify additional include paths, then path may be shorter)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.