For those who simply want to import headers/classes from a project specific plugin, The solution provided here helped me:
Summary:
-
Open the
.uplugin
file under the plugin folder and copy the module name you need from the"Modules"
array. You can verify which module your header file belongs to if there is more than one module. By openingPlugins/<Plugin_Name>/Source/
and searching the file name. -
Once you have it, you have to add the module name to your PublicDependencyModuleNames Ranges and save. Rebuild Solution. If the build succeeds, and you can import the headers, great. otherwise, go to step 3.
-
Close VisualStudio. open the project folder in file explorer, Right-click
.uproject
, and Generate VS Project Files. Reopen VisualStudio.