Description

Android devices cannot find a hosted match over Wi-Fi (IPv4) from another Android device despite being connected to the same Wi-Fi network with matching subnets.

The host prints the following messaging to the logs:

07-27 15:46:05.170: D/UE4(19162): [2018.07.27-19.46.05:170][485]LogInit: BSD_Android: I am localhost (127.0.0.1:0)
07-27 15:46:05.171: D/UE4(19162): [2018.07.27-19.46.05:171][485]LogSockets: (BSD_Android) Wifi Adapter IP 127.0.0.1
07-27 15:46:05.176: D/UE4(19162): [2018.07.27-19.46.05:176][485]LogSockets: (BSD_Android) Wifi Adapter IP 127.0.0.1
07-27 15:46:05.177: D/UE4(19162): [2018.07.27-19.46.05:177][485]LogOnline: Verbose: OSS: Listening for LAN beacon requests on 14001

The client prints the following messaging to the logs:

07-27 15:46:16.041: D/UE4(11123): [2018.07.27-19.46.16:041][830]LogInit: BSD_Android: I am localhost (127.0.0.1:0)
07-27 15:46:16.041: D/UE4(11123): [2018.07.27-19.46.16:041][830]LogSockets: (BSD_Android) Wifi Adapter IP 127.0.0.1
07-27 15:46:16.042: D/UE4(11123): [2018.07.27-19.46.16:042][830]LogOnline: Verbose: OSS: Sending 16 bytes to 255.255.255.255:14001
07-27 15:46:16.042: D/UE4(11123): [2018.07.27-19.46.16:042][830]LogOnline: Verbose: OSS: Sent query packet...
07-27 15:46:16.042: D/UE4(11123): [ 07-27 15:46:16.044 11123:11220 D/         ]
07-27 15:46:16.042: D/UE4(11123): PlayerBase::PlayerBase()
07-27 15:46:16.042: D/UE4(11123): [ 07-27 15:46:16.045 11123:11220 D/         ]
07-27 15:46:16.042: D/UE4(11123): TrackPlayerBase::TrackPlayerBase()
07-27 15:46:16.056: D/UE4(11123): [2018.07.27-19.46.16:056][831]LogOnline: Verbose: OSS: Received 16 bytes from 10.1.34.40:14001

This issue was encountered using a Samsung Galaxy S9+ as the host and a Google Pixel 2 XL as the client. As a note, I was able to successfully connect to the host using the "open <IPAddress>" command.

This issue also occurs in //UE4/Dev-Networking @ CL #4205071, so it is not a recent regression in Dev-Networking.

Steps to Reproduce

SETUP
Connect two Android devices to EPIC-SECURE and make sure the subnets on their IP addresses match

STEPS

  1. Open ShooterGame in the editor
  2. Package for Android (ETC1) in the Development build configuration
  3. Navigate to your package directory
  4. Connect an Android device you will use to host the match to your computer
  5. Run the Install_ShooterGame-armv7-es2.bat
  6. Disconnect the host device
  7. Connect an Android device you will use to join the host's match to your computer
  8. Run the Install_ShooterGame-armv7-es2.bat
  9. On the host device, open the application
  10. Tap Host when the main menu appears
  11. Set the following settings:
    • Number of Bots = 0
    • Map = Sanctuary
    • LAN = ON
    • Record Demo = OFF
  12. Tap FREE FOR ALL to start the match
  13. On the client device, open the application
  14. Tap Join when the menu appears
  15. Set the following settings:
    • LAN = ON
    • Dedicated = OFF
  16. Tap SERVER to search for matches

Expected Result
The client is able to find and join the hosted match from the other Android device

Actual Result
The client is unable to find the host's match and tells the user "NO SERVERS FOUND, PRESS SPACE TO TRY AGAIN"

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-62267 in the post.

2
Login to Vote

Backlogged
ComponentNetworking
Affects Versions4.21
CreatedJul 27, 2018
UpdatedSep 16, 2019