I am working on a game right now (Kingscraft) and I am doing good progress. I think I am 2/3 finsheid.
But now I have a weird situation, I am having trouble solving, because the error is not coming from the code, but the BGA framework.
The game isn´t played clockwise, but using action-selection cards, that then create a trun-order for the round. I have a "AllPlayersMultiactive"-State, where Players select their "Action" for the round. After that, the selected Actions are brought into a player-order and the first Player in that order is set as active player. The weird thing is now: Somethimes, when a player selects an action, after other players have selected theirs, it will throw a visual error "It is not your turn" and nothing happens. But in the "AllPlayersMultiactive"-state all players are active. So it is definitly the players turn. And I checked, the player is offially "active" at this moment. And sometimes it works as it should. It is inconsistent and happens in some other random moments as well. I don´t understand what is going on here. Do you have any idea?
(I already found, that this error is connected to the "Check Action"-Function and that it triggers, if the player is indeed not active. But this is not the case here)
Thank you so much for your help.
But now I have a weird situation, I am having trouble solving, because the error is not coming from the code, but the BGA framework.
The game isn´t played clockwise, but using action-selection cards, that then create a trun-order for the round. I have a "AllPlayersMultiactive"-State, where Players select their "Action" for the round. After that, the selected Actions are brought into a player-order and the first Player in that order is set as active player. The weird thing is now: Somethimes, when a player selects an action, after other players have selected theirs, it will throw a visual error "It is not your turn" and nothing happens. But in the "AllPlayersMultiactive"-state all players are active. So it is definitly the players turn. And I checked, the player is offially "active" at this moment. And sometimes it works as it should. It is inconsistent and happens in some other random moments as well. I don´t understand what is going on here. Do you have any idea?
(I already found, that this error is connected to the "Check Action"-Function and that it triggers, if the player is indeed not active. But this is not the case here)
Thank you so much for your help.