You could check if it exists at that point. I’m not sure at what point GameState is spawned and begun play, could happen after your BeginPlay in whatever class you’re trying to cast it in
Tested: Make sure your parent class is GameStateBase, not GameState. Also, make sure your level’s gamemode is using your custom class.
It does.