Photon Unity Networking or Bolt or ...?

Pavan Chopra picture Pavan Chopra · Apr 20, 2017 · Viewed 8.9k times · Source

I am not able to decide whether to use PUN or Bolt in my Unity based multiplayer game. The game must have LAN and over the internet playing options.

According to documentation on photon website, PUN is meant for multiplayer games over the internet. Master Server is hosted either in the photon cloud or dedicated servers running Photon Server.

Bolt, on the other hand, is meant for LAN games. One of the clients becomes the server.

My game needs both, LAN and Internet. Should I use both the SDKs? Can't there be common code for both options?

Answer

NLxDoDge picture NLxDoDge · Apr 20, 2017

EDIT:

UNET is now depricated!

You can also go with the new network from Unity (UNet) It has both lan and Internet (if you portforward, but I think that there should be an option for that non the less. Quote me on this).

You however can take a look in the UNet manual to see if you like it.: https://docs.unity3d.com/Manual/UNet.html

I am currently working on a 3v1 game with this. And it takes some time to understand, but you don't have to worry about payments or other things.

(I don't have 50 reputation so I can only give an answer)