Custom GameMode And GameState Won't Tick [resolved]

Hello,
In my case I had a GameMode class inheriting from AGameMode and a GameState class inheriting from AGameState. The problem I had was that the Tick function was not being triggered on my GameState instance. After some digging around, I found this line in AInfo’s constructor :
PrimaryActorTick.bCanEverTick = false;
(AInfo is a parent class of AGameState).

Adding PrimaryActorTick.bCanEverTick = true; in my GameState’s constructor fixed the issue for me.
Cheers.

3 Likes