We are using the PlayFab Party SDK for Unity (SDK version 184.108.40.206-main.0, Unity version 2019.4.3). In our iOS builds, the first connection after freshly opening the app works fine. However, once the app has been backgrounded or the device locked for a few seconds, all subsequent connection attempts fail until the app is force closed and restarted. We've observed this behavior both in our own game scenes as well as the example scene provided in the SDK.
When resuming the app, the following messages are logged:
dnssd_clientstub write_all(15) DEFUNCT failed to establish or maintain a connection to a network or remote peer
All subsequent connection attempts have the same result until the app is force quit and restarted.
1. Build the PlayFab Party Unity example scene for iOS.
2. Open the app and press "Connect and Join Network". The connection will succeed.
3. Force close the app.
4. Open the app again. Lock the device and wait 5-10 seconds.
5. Unlock the device and press "Connect and Join Network" again. It will now fail.
We have tried destroying and recreating the local player/endpoint, as well as cleaning up the PlayFabPartyManager and reinitializing it when the app resumes, but the result is the same.