LAN multiplayer on Unity iOS Basic

Hi all,

I am new to Unity and a total newbie in networking stuffs.

I am developing an iOS real time multiplayer game using Unity iOS Basic license.
I wanted the multiplayer to be LAN connection where the users will be able to host and join other users within the same Wi-Fi.

I’ve done some research on the internet and I realized that iOS Basic does not support .Net socket.
So is there any other way to implement LAN multiplayer for iOS Basic license?

I am a university student and I’m developing this for my Final Year Project. I do not have the budget to upgrade to PRO version. :frowning:

Thanks!

You should check out Prime31’s Bluetooth/WiFi plugin. No Unity Pro needed.

Alright, thanks for the information. I will look into that plugin. :slight_smile:

You do not need plugins. Unity’s networking works with iOS basic. Try the tutorial here.

This is not to say Prime31’s plugin is useless, I don’t know what it does.

I’ve been networking 7 devices over wifi pretty painlessly.

Cheers,

Gregzo

The examples in the tutorial, does the connection require the clients’ device to connect to a server?

This is because I am planning to make the connection between two devices, one device as the host and the other device join the host, without an additional server.

No problem. Call Network.InitializeServer, it works on iOS too (and yes, iOS basic too).

If you need service discovery (i.e. : connecting devices without having to input ip and port), my bonjour plugin works fine. I think Prime31’s plugin also has automatic service discovery, plus a bunch of other stuff. Mine is cheaper, and just does the one thing. Handy if you want to implement networking yourself and just need that functionnality.

Okay, it is a good news for me then~ :smile:

I will try the tutorial and learn how to implement it soon.

I will also consider buying your plugin if I feel that I need that functionality after the network is implemented.

Thank you so much, gregzo. :slight_smile:

Indeed, service discovery is the icing on the cake, no need for it when you’re just getting started.

Good luck with the tutorial,

Gegzo