GetPlayerController in EventInitializeComponent returns NULL

Hey, I think you had the same issue that I did. The problem is that you’re trying to call GetPlayerController when it has not yet been initialized by the engine. If you move that code to your game mode EventBeginPlay the GetPlayerController will return a valid value and your code will work.

Here is my post with the solution