Multiplayer client has two GameStates

hagier
Wed, 14 Jul 2021 10:23:08 +0000
Multiplayer & Networking

I’m having struggle with GameState. My custom GameState is child of Game State Base. GameMode (child of Game Mode Base) is updating some variables in my GameState. But my clients have two separate GameStates as illustrated below. First I thought it is normal but now I can see that sometimes first GameState is updated and sometimes the other one. For example, if one of them is updated, then time counter works, but if other one is used, then it is not counting time. I can’t figure it out or find any information about it.

Which one is replicating looks totally random and is determined at start.

1 post - 1 participant