GameKit startBrowsingForNearbyPlayersWithHandler doesn't return players

Originator:phillipcaudell
Number:rdar://22969217 Date Originated:05/10/2015
Status:Open Resolved:
Product:iOS SDK Product Version:9.0.1
Classification:Serious Bug Reproducible:Always
 
Summary:
Attempting to use GKMatchmaker's startBrowsingForNearbyPlayersWithHandler method to discover other devices using the same app, but the handler is never called. In addition none of the delegate methods from GKLocalPlayerListener are called. 

The app has been configured in iTunes Connect to use Game Centre, and has the correct entitlements and provision profile. The issue is happening on actual devices. The local player has been authenticated. The devices are signed into two separate game centre Sandbox accounts (devices+what@3sidedcube and devices+what2@3sidedcube.com).

Tried having both devices calling startBrowsingForNearbyPlayersWithHandler at the same time, and also tried only having one device browsing. Still no players are discovered. 

Per suggestion of DST support, we simplified the networking environment. We setup an Airport Time Capsule (model A1302) with the default settings. We then connected the same modern iPhones running iOS 9.0.1 to it. We ensured all devices were on the same subnet (see attached screenshots). Still no joy.

Steps to Reproduce:
1. Open attached sample project
2. Run project on two separate iPhones at the same time.
3. startBrowsingForNearbyPlayersWithHandler method is called. 
4. No players are ever returned. 

Expected Results:
Nearby players on the same network to be returned. 

Actual Results:
No players returned. 

Version:
Xcode 7.0 (7A220) iOS 9.0.1 (13A404)

Notes:


Configuration:
iPhone 6 (A1586) iPhone 6 Plus (A1524) Airport Time Capsule (A1302)

Attachments:
'Things.zip' was successfully uploaded.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!