- Home /
Needing help with mobile multiplayer.
So, lately 've been working on a mobile platform project. And i had an idea of implementing multiplayer into it.
I have succesfully done some simple multiplayer games on standalone, but i've never had any experience with mobile multiplayer before.
I ran some tests on some android devices, First using my own multiplayer script. The server showed up on the mobile device like intended but i could not connect to the server. I also tried sharing the network of the host's device and connecting a client to it. Even tough i tried port forwarding my wireless and allowing the apps to use network connection on the devices, no further progress was made.
Then i tried the M2H demo 3 and i also ran it in every single way mentioned above. But still with no success.
Am i missing something here?
Are there any tutorials or guides on doing this or does anyone have experience of doing this before?
Also i didnt even bother trying photon because it uses .NET sockets and i belive that it requires android pro. If it is possible tough on a basic android license or just plain unity pro which i have, then please let me know.
Photon successfully allows mobile multiplayer game including connections over 3G/4G networks which won't fly on built in networking.
Answer by vladimirg · Feb 19, 2014 at 09:32 AM
Disclosure: I work at Nextpeer.
We provide an SDK that enables multiplayer on mobile platforms, currently Android and iOS, and we have Unity plugins. Our focus is more on casual games, so this may not be a good fit for you (you didn't describe your multiplayer mechanics, so I can only guess). Our solution is free. If you're interested, check us out.
One alternative on Android is Google Play Game Services. They recently released a plugin for Unity. However, they provide multiplayer only on Android (not iOS).
I tried out the palladin multiplayer tutorial and it worked perfectly for only 1 time. After trying it out multiple times i got some errors that nobody seems to really know about.
I think its just a bug in unity and i might post a new question about it.
Answer by dhruvc · Mar 19, 2014 at 10:33 AM
AppWarp multiplayer supports Unity mobile builds on the free version. This is achieved through our use of native plugins bypassing Unity's restriction on .Net sockets.
AppWarp offers an on-premise server (similar to Photon server) that has 500 CCUs free!
http://appwarps2.shephertz.com/
Also AppWarp offers a cloud solution which also has a free forever starter package.
http://appwarp.shephertz.com/game-development-center/unity3d-game-developers-home/
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Multiplayer on Android? 0 Answers
Mobile multiplayer in Unity Free? 1 Answer
Making the camera show mobile view... 0 Answers
Multiplayer Tutorial android problem 0 Answers