Literally just came to the forums about to post this exact problem!
BUT I just realized it’s a plugin, and thus the problem isn’t including a path from niagara, it’s how to include a path from plugins!
After a short plugin googling, here’s how you get it working:
Build.cs - Include the Modulename as you know, but also **the Includepath **so unreal knows where the files actually are.
PublicDependencyModuleNames.AddRange(new string] { "Core", "CoreUObject", "Engine", "InputCore", "Niagara" });
PublicIncludePaths.AddRange(new string] {
Path.Combine(ModuleDirectory, "your other paths"),
Path.Combine(ModuleDirectory, "Niagara")
});
Now the header from the last Niagara folder will now work!
#include "Niagara/Public/NiagaraComponent.h"
Goodluck!