.generated.h not found but it exists

Hi everyone.

Yes yet another .generated.h question. I have just switched to 4.20 from 4.19.2 and Visual Studio says that it can’t find the .generated.h files even though they exist. It compiles find and I have deleted the .vs, Binaries, Intermediate and Saved folders and done a complete rebuild several times, but it hasn’t fixed the issue.

It wouldn’t bother me except there is a huge list of them in the Error List and it is hard to see actual errors from my code. The errors are occurring all throughout the game engine code as well as mine.

Any ideas?

Unfortunately, it’s a known issue in 4.20: Unreal Engine Issues and Bug Tracker (UE-62042)
A “workaround” is to use Visual Assist by Whole Tomato.