Game instance doesn't work on packaged build

i have a multiplayer system where i set if the game is in lobby mode and waiting for players.
i do this by having a lobby boolean in the host’s game instance so when the game switches levels the lobby variable remains. it all works in the editor, but it always has lobby at false in a packaged build, the casts don’t fail and even if i make it true by default, its always false. wat do?

please show the code in all places where you are setting the boolean

nvm i gave p on the lobby boolean thing and now i just use a separate lobby level, its a lot easier