Cannot open Source File MyActor.Generated.h

I keep trying to make a new actor class and every time I create the new class I get the error “Cannot open source file MyActor.Generated.h” I have tried regenerating the project files and it still give me the error. Thoughts?

“MyActor.Generated.h” should be (well…) generated by the engine compiler. Usually, when you create your C++ class from within the editor it will automatically create this .h file for you.

How do you create your C++ file?