Ok I have no clue what IDE you are using (I am assuming VS), but QT Creator “dynamically” runs the code and notifies you if the file mentioned in the directive is found then and there. Make sure you have run generateprojectfiles script and Niagara files are mentioned in the UE4Headers.pri or something.