OK guys, so here is the deal, Im using UE4.27.2 and this is what I got working:
Android as Host, PC as Client
Andorid as Client, PC as Host
PC as Host, PC as Client
Android as Host, Android as Client
WITH Findable Sessions using the Advanced Sessions Plugin.
Untested:
Linux + Mac & iOS as Host, (Any) as Client
(Any) as Host, Linux + Mac & iOS as Client
Technically should work because derived from BSD but I have no idea.
How I got this working?
-
UE4: How to set up LAN-Multiplayer for Windows and Android | Squareys' Blog
Using this guys ue4 fork as reference -
https://github.com/EpicGames/UnrealEngine/compare/4.10...psychogony:UnrealEngine:4.10
Using this guys pull request to get things up and running - Editing UE4 source for getting LocalIPAddress by removing those that don’t start with ‘192’ (filter out the Network Interfaces/Devices like WSL) as well as filtering out those that start with ‘192.168.56.*’ to filter out VirtualBox
It all works. Except for 1 condition:
If the android phone has hotspot on and is the network provider for all the devices, then it CANNOT find sessions, instead a manual IP must be typed. I tested on few different phones, either the manual IP typed successfully connects or it fails. its a hit or miss.
Since I don’t know much about Android API or Java, what is the issue and how can I have this resolved? Once this is done, LAN will be perfected in UE4.27.2.