I can’t do this in my Third Person Example code. I can’t set a watch on the GEngine variable in VS2013 either, or step into it with F11.
ULocalPlayer* p = GEngine->GetGamePlayer(GEngine->GetWorld(), 0);
p->ApplyWorldOffset(FVector(0, 0, 30));
ULocalPlayer* p = GEngine->GetGamePlayer(GEngine->GetWorld(), 1);
p->ApplyWorldOffset(FVector(0, 0, 30));
I just get the error message:
UE4Editor.exe has triggered a breakpoint.
I can call these fine-
GEngine->GetFName();
GEngine->GetWorld();
Workaround:
ULocalPlayer* p = GEngine->GetGamePlayer(GetWorld(), 0);