VS cannot find generated.h files
The exact same error every time I try to add new C++ class via UE Editor (for example an Actor class).
Edit: I tried the trick with deleting files (.vs, Binaries, Intermediate, Saved, *.snl) and re-generating VS project file, but it didn't help.
It's clearly a bug introduced in 4.20. I don't understand how this build was approved by QA with such a bug.
Anyway, I found out what is happening and how to solve it manually. You will have to do this everytime after you generate the project files (annoying but currently is the only way).
The problem is that the UBT is not adding the intermediate include directories to the NMakeIncludeSearchPath property in the visual studio project when it generates the project files.
Let me know if this helps you until Epic makes a hotfix for this.
Follow this question
Once you sign in you will be able to subscribe for any updates here