# Custom GameMode And GameState Won't Tick \[resolved\]

**URL:** <https://forums.unrealengine.com/t/custom-gamemode-and-gamestate-wont-tick-resolved/457352>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [October 23, 2019, 1:59pm UTC](https://forums.unrealengine.com/t/custom-gamemode-and-gamestate-wont-tick-resolved/457352 "2019-10-23T13:59:24Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Elou44](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/elou44/32/738751_2.png) [@Elou44](https://forums.unrealengine.com/u/Elou44)\
**Post date:** [December 3, 2020, 6:18pm UTC](https://forums.unrealengine.com/t/custom-gamemode-and-gamestate-wont-tick-resolved/457352/3 "2020-12-03T18:18:12Z")

</div>

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.

---

_[View the full topic](https://forums.unrealengine.com/t/custom-gamemode-and-gamestate-wont-tick-resolved/457352)._
