Getting an error trying to EnableInput on PlayerController

I think I understand what you mean, but the access violation is occuring here PlayerC->EnableInput(PlayerC), I believe it is also because of being in the constructor, I will try to move it to BeginPlay.

I don’t know if the Tick would be the best place for that because i don’t want to be constantly polling to see if a key is pressed i just wanted an event to trigger when it is. Does IsInputKeyDown() only works if it is in Tick?

The purpose of this logic is to spawn a blackhole when a user inputs “ezgame” on the keyboard in that sequence. I just wanted to get a simple way to do that.