UE 4.20.1 + VS 2017 CE - generated.h Issue

Dear Community,

I’m running into the issue that a newly auto-generated C++ class (MyActor in this case) cannot be compiled because it can not include generated.h related files although they were generated (see screenshots). I already looked at the forum and already tried out the following:

  • Deleting .vs, Binaries, Intermediate, Saved and also YourGame.sln and then generated the VS project files again.
  • Going back to version 4.19.2

How can this be fixed?