[4.7.4] Game Mode loses GameStateClass in packaged game

I’ve been working on making it so the user can specify the game mode in the server travel string. One of my game types (DM_GameMode) loses its blueprint defined Game State Blueprint when packaged somewhere between the creation of the game mode and its initialization (Logging/Using a Debugger found this). My other game mode doesn’t suffer from the same issue and loads the blueprint specified GameState with no issue.

I’ve verified that the GameStateClass is set for my game mode, tried re-parenting the game mode, and tested multiple build settings to no avail. Any advice is welcome.

Relevant DefaultGame.ini snippet:

[/Script/Engine.GameMode]

+GameModeClassAliases=(ShortName=“KOTH”,GameClassName=“/Game/Blueprints/GameModes/KotH_GameMode.KotH_GameMode_C”)

+GameModeClassAliases=(ShortName=“DM”,GameClassName=“/Game/Blueprints/GameModes/DM_GameMode.DM_GameMode_C”)

Additional information:

I have also defined the default BotPawn in my game mode with a blueprint and it is not missing when the execution reaches the Game Modes’s InitGame.

Hey Mew2057,

We are going through old posts which were were not able to address and attempting to increase our support within the Packaging and Deployment section.

Thank you for taking the time to post your issue, and I would like to know if you are still experiencing this issue, and if you can reproduce it in either 4.8.3 or 4.9.2 engine release?

Thank you,