Game Mode incorrect in packaged game

Hi there. I have a game with the correct gamemode set in both the project settings, and in the map settings’ override, and it plays fine in both the viewport and in PIE- but upon packaging the project, it defaults back to the bodiless floating camera gamemode. Any ideas?

Solved, issue was occurring due to a compiler error in the intended mode- with the game defaulting to the other game mode.