Activeplayer state skipped
Posted: 22 December 2016, 18:22
I have a problem with strange behaviour of activeplayer state.
The game goes over several rounds. In the first round everything is fine.
In the 2nd round (and following) the game goes into an activeplayer state which is ended (skipped) without letting the active player do anything.
In the log it is visible that the state is in fact entered and left. This behaviour is not expected regarding the BGA state machine and should by no means possible in the game - I have not added any code which could explain this.
I have checked that the player id of the active player directly before entering the state is valid.
The game then enters "next player", and activates the next player who can do something.
Any ideas what could cause this?
The game goes over several rounds. In the first round everything is fine.
In the 2nd round (and following) the game goes into an activeplayer state which is ended (skipped) without letting the active player do anything.
In the log it is visible that the state is in fact entered and left. This behaviour is not expected regarding the BGA state machine and should by no means possible in the game - I have not added any code which could explain this.
I have checked that the player id of the active player directly before entering the state is valid.
The game then enters "next player", and activates the next player who can do something.
Any ideas what could cause this?