Search Issue Tracker

Fixed

Votes

12

Found in

5.2.0f3

Issue ID

725873

Regression

No

Sockets can't reconnect after device suspension on iOS

Networking

-

How to reproduce:

1. Open attached project
2. Build to iOS and run on two devices (iOS+iOS or Editor+iOS)
3. Create a matchmaker game on one device
4. Connect to the game with the other device
5. Lock the iOS device screen
6. Unlock the screen
- Note how the game begins misbehaving
- The Xcode log is clustered with 'Socket is not connected' messages

Comments (4)

  1. clever

    Jun 30, 2017 01:06

    Is a fix for loss of focus incoming? UNET completely disconnects at any loss of focus on iOS and Android, including if player does an in-app purchase, or pulls up the status bar (iOS) to change brightness or something. This is a major headache!!!

  2. Extrawrigley

    May 02, 2017 09:10

    I see the same behaviour on Android. I can't reconnect to the Host App after minimizing and awaking it.

  3. capyvara

    Oct 14, 2015 14:55

    Also interested in the workaround, also I think this should be higher priority/severity since it prevents any iOS game released with networking to properly resume a match.

  4. bruno-costa

    Oct 14, 2015 13:14

    Someone knows the workaround for this issue?

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.