Hi,
We're using Playfab on Windows 10 for multiplayer and using an xbox live token to sign in.
We are able to successfully get two players into a network for the first time. One player calls CreateAndJoinNetwork() and the other uses JoinNetwork(string networkId). Once we've disconnected them both call LeaveNetwork successfully. The problem then arrises when we attempt to re-connect them. The host is able to create a Network without any issues but when the client calls JoinNetwork we receive hundereds of errors inside the Playfab SDK on both host and client. The exception is:
FormatException: Input string was not in a correct format. at System.Number.StringToNumber (System.String str, System.Globalization.NumberStyles options, System.Number+NumberBuffer& number, System.Globalization.NumberFormatInfo info, System.Boolean parseDecimal) [0x00057] in <fb001e01371b4adca20013e0ac763896>:0 at System.Number.ParseUInt64 (System.String value, System.Globalization.NumberStyles options, System.Globalization.NumberFormatInfo numfmt) [0x00014] in <fb001e01371b4adca20013e0ac763896>:0 at System.UInt64.Parse (System.String s, System.IFormatProvider provider) [0x00008] in <fb001e01371b4adca20013e0ac763896>:0 at System.Convert.ToUInt64 (System.String value) [0x0000c] in <fb001e01371b4adca20013e0ac763896>:0 at PlayFab.Party._Internal.PlayFabChatXboxLivePolicyProvider.GetPlayerByXuid (System.UInt64 xuid) [0x0001f] in C:\Repositories\PhogsProjects\Phogs\Assets\Plugins\Playfab\PlayFabPartySDK\Source\Scripts\PartyUnitySDK\PlayFabChatXboxLivePolicyProvider.cs:556 at PlayFab.Party._Internal.PlayFabChatXboxLivePolicyProvider.IsReadyToSetChatPermissions (PartyXBLCSharpSDK.PARTY_XBL_CHAT_USER_HANDLE localXblChatUser, PartyXBLCSharpSDK.PARTY_XBL_CHAT_USER_HANDLE targetXblChatUser) [0x0003b] in C:\Repositories\PhogsProjects\Phogs\Assets\Plugins\Playfab\PlayFabPartySDK\Source\Scripts\PartyUnitySDK\PlayFabChatXboxLivePolicyProvider.cs:409 at PlayFab.Party._Internal.PlayFabChatXboxLivePolicyProvider.ProcessQueuedOperations () [0x00001] in C:\Repositories\PhogsProjects\Phogs\Assets\Plugins\Playfab\PlayFabPartySDK\Source\Scripts\PartyUnitySDK\PlayFabChatXboxLivePolicyProvider.cs:268 at PlayFab.Party.PlayFabMultiplayerManager.ProcessQueuedOperations () [0x000c2] in C:\Repositories\PhogsProjects\Phogs\Assets\Plugins\Playfab\PlayFabPartySDK\Source\Scripts\PartyUnitySDK\PlayFabMultiplayerManager.cs:767 at PlayFab.Party.PlayFabMultiplayerManager.Update () [0x00012] in C:\Repositories\PhogsProjects\Phogs\Assets\Plugins\Playfab\PlayFabPartySDK\Source\Scripts\PartyUnitySDK\PlayFabMultiplayerManager.cs:144
So far all I've figured out is that the _platformSpecificUserId inside PlayfabPlayer is mapped to the Xbox Live XUID of our players during the first play session but when they reconnect it's set to the same value as EntityKey.ID but I can't figure out why.
Any help would be greatly appreciated.
Thanks,
Si