I have just started trying to learn C++ coding in UE and have run into a weird problem. Basically when creating a new project, all of the code files under Visual Studio’s “Engine” folder have an issue with finding the included header files, and therefore the code files are full of errors as in here.
The same header files included in the code files under “Games/projectname/…” are included just fine.
I don’t know if it affects the code files under “Games/projectname/…”, but as I’m new, starting to work on a project in which the Engine-files have 20 000+ errors doesn’t feel right.
To add, changing the “Include Directories” in “Engine/UE5” properties to match that of “Games/projectname/” will remove the errors from included headers, but keep tens of thousands of errors on other parts of the codes.