In my case (UE 4.16.1), I couldn’t use UGamePlayStatics with that #include, but this worked: #include “Runtime/Engine/Classes/Kismet/GameplayStatics.h”