Like the title said, this is about an additional issue with Unreal 4.16 and the IWYU framework in Visual Studio 2017. Just to quickly summarize, you need to add a new #include in your .cpp file for each type of GameFramework Object that you need to use. One of the most common one that we’ll be adding is the Actor.h file. That was all stated in the update video.
Where the issue comes from is if you rely on the autocomplete portion. As your typing your new include line, if you autocomplete GameFramework, it’ll also include a backslash. Finishing the line, it’ll look like this:
#include "GameFramework\Actor.h"
This will cause an error when you try to compile in Unreal, but it doesn’t in VS.
To fix the error, it must be a forward slash, like so:
#include "GameFramework/Actor.h"
This second line will compile in both VS and Unreal.