I have a game that stays standalone when loaded with a menu screen. When you log into the game, it connects to Playfab and gathers the user data. I store the displayname (for example) to a variable within the game instance. When the game travels to the dedicated server on playfab, the game instance variables reset and don’t persist.
I understand it’s because the game instance variables on the server take precedence over the client’s gameinstance, but how can I go abouts fixing this?
To sum this up.
Game loads on standalone and connects to playfab. Variables from playfab are saved (as replicated variables) on the game instance.
When I travel to the dedicated server, all game instance variables are set to null.
Please help me provide a solution?