Android as host not working
I'm having big troubles getting android as the host working.
I'm testing with the Multiplayer Shootout to ensure it's easy to reproduce with 4.10. The only thing I changed in that project was changing the OnlineSubSystem in the DefaultEngine.ini like so:
What doesn't work:
Log on android device as I start it as the host ("Create Session"):
Similar to the problem mentioned here without resolve: [url]https://forums.unrealengine.com/showthread.php?69417-Local-Wifi-Multiplayer-without-using-Google-Play[/url] and here also without resolve: [url]https://answers.unrealengine.com/questions/301315/android-host.html[/url]
I have not been able to find anywhere how to get android as the host working. The end result I'm trying to achieve is android to android connection for a mutliplayer game over a local wifi both devices are connected to.
Is there some other config required for android?? Is Android as a host working at all???
Any help appreciated!
asked Nov 30 '15 at 07:44 PM in Blueprint Scripting
As per PM from AussieBurger.
At least some Android devices do not seem to resolve their own local host addresses properly (every distro is different) meaning that Android can't act as a server. I don't have an Apple device on hand, but looking at the source code IOS should work fine.
Whether mobile devices have the CPU performance to act as a server is a separate question/issue.
I have issued a pull request on github that fixes the 'Android unable to resolve local host address' issue.
answered Dec 01 '15 at 10:01 PM
You cannot create host using Android. For Mobile, HTML5 and consoles you can build client only. If you developing multiplayer game for mobile devices, you must build Dedicated (Standalone) Server on Linux or Windows platforms.
answered Dec 01 '15 at 12:26 PM
I really like to make a multiplayer android game I would be very grateful if you could throw some light on it.
answered May 29 '17 at 07:52 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here