P2P through Photon in Unity
The whole answer can be found below.
Try Our
Documentation
Please check if you can find an answer in our extensive documentation on PUN.
Join Us
on Discord
Meet and talk to our staff and the entire Photon-Community via Discord.
Read More on
Stack Overflow
Find more information on Stack Overflow (for Circle members only).
P2P through Photon in Unity
AlienTed
2018-11-13 14:27:03
Hi!
I want to try using Photon for my multiplayer and I have a couple of generic questions.
- Does PUN support P2P connection for matchmaking?
By that I mean the regular stuff like when 1 of the players is a room host (its pc is a host and a server) and the others connect to it through matchmaking as clients though the internet. - Does it support LAN multiplayer?
P.S. sorry for the dumb questions.
Comments
[Deleted User]
2018-11-15 15:16:02
Hi @AlienTed,
To the first question: No, there is no P2P in PUN. If you want to use P2P, I would recommend you taking a look at Photon Bolt, which supports P2P. There is also a free version on the Asset Store.
To the second question: Short answer: no. Long answer: It's possible, to host the Photon Server on your own. If all clients are in the same local network as the server, you could use it locally. The server however stills needs an internet connection as far as I know. If you want to use LAN multiplayer, you can take a look at Photon Bolt again, which supports LAN.
Hi @Christian_Simon
Thanks for your help. It says that Photon Bolt is suitable for action games and stuff. Will it do well with TBS games?