UE4 : GetPlayerState() doesn't work in PlayerController code (template version is called)

Just use #include “GameFramework/PlayerState.h”
And than GetPlayerState() will work normal.

Correct include is important. I was in same situation.
P.S.: Sorry for my English. I hope than can help you

2 Likes