Having some saving issues now.
Here's what my game currently does:
OnNetworkConnect:
- TNManager.SetPlayerSave("Players/" + TNManager.playerName + "_" + SystemInfo.deviceUniqueIdentifier + ".dat";);
- JoinChannel
During gameplay, I use TNManager.SetPlayerData for a few variables I want to save on each player, but nothing seems to ever be saved on the server. Not sure if it matters, but I'm saving all the variables in one function, so it calls SetPlayerData more than once.
The OnSetPlayerData notification is working fine. The server just never seems to save anything.
What would be the correct way to handle saving player data in the latest version of TNet 3 (Feb. 8)?