I’m following a course, and after being able to compile this exact project a week or two ago, I no longer can despite making zero changes. Why? Because the compiler cannot find the files for certain includes.
Not that this is very helpful, but I’m having a similar problem.
At least in my case, if I base my project off a template other than blank, the header files can be found just fine, so based on whatever type of project you’re working on (eg. third person), you could give that a try.
Also, let’s say for example you’re trying to declare a variable of type UEnhancedInputComponent* and you get a red squiggly, hover the cursor over it and see if you get a prompt for Ctr + Alt to see potential fixes. This sometimes works for me, but the include ends up looking something like: