Hi
I'm having some issues creating parties at the moment. This is my code:
Party::PartyNetwork *NewNetwork; PartyError err = PartyManager::GetSingleton().ConnectToNetwork(&networkDescriptor, nullptr, &NewNetwork); if (PARTY_FAILED(err)) { PartyString errorMessage; return PartyManager::GetErrorMessage(err, &errorMessage); } uint32_t NetworkCount = 0; Party::PartyNetworkArray Networks; err = PartyManager::GetSingleton().GetNetworks(&NetworkCount, &Networks); if (PARTY_FAILED(err)) { PartyString errorMessage; return PartyManager::GetErrorMessage(err, &errorMessage); } err = Networks[0]->AuthenticateLocalUser(CurrentLocalUser, TCHAR_TO_UTF8(*InviteId), nullptr); if (PARTY_FAILED(err)) { PartyString errorMessage; return PartyManager::GetErrorMessage(err, &errorMessage); } err = Networks[0]->GetNetworkDescriptor(&NewNetworkDescriptor); if (PARTY_FAILED(err)) { PartyString errorMessage; return PartyManager::GetErrorMessage(err, &errorMessage); } err = PartyManager::GetSingleton().SerializeNetworkDescriptor(&NewNetworkDescriptor, SerializedNetworkDesctor); if (PARTY_FAILED(err)) { PartyString errorMessage; return PartyManager::GetErrorMessage(err, &errorMessage); } return SerializedNetworkDesctor;
From this, I am trying to connect to a network and share the serialized network descriptor. However when I try to run this code, I get all the way through to the SerializeNetworkDescriptor() call and then I get the error:
the network descriptor is a placeholder that cannot be used on this device at this time
Is there something I'm doing wrong here? It seems as if I'm able to connect to the party network fine, but I'm just not able to serialize the network descriptor for others to join.