UE4.20 is missing the IntelliSense IncludePath for the *.generated.h files

Yeah, I’m an idiot. I didn’t change my working directory in the command prompt to my project folder before calling the python executable. I assumed that python would use the script’s directory as the working directory (since I used the absolute paths to both the executable and the script file), but that’s not the case.

So here are the steps for command line and python noobies like me:

  1. Download and install python 3.7
  2. Copy the python script into your project folder which also contains the sln file
  3. Open up the windows command prompt and make sure to change your working directory to your project folder by typing cd [Full project directory] without the brackets
  4. Finally, type in the full path to your python.exe file followed by the full path to your script.py file, and it should work.

Thanks for the help Frigerius, and the awesome script. It works great!