As explained in the title, when calling “player array” from my custom game state I don’t get the classes I’m supposed to get. I have:
- DeathMatchGameMode (child blueprint of my BasicGameMode which is a child of GameModeBase)
- DeathMatchGameState (child of GameStateBase)
- DeathMatchPlayerState (child of BasicPlayerState which is a child of PlayerStateBase)
I checked to have correctly set my game mode and its defaults
But on the server it still has the player state that I had in the previous level (which has a different game mode with different classes) and trying to print the player state class name (using a switch on authority node to differentiate between server and clients) confirm that on the server the clients don’t have the right class
That said, on the clients they do have the right class but they often don’t have other’s client references