Search Unity

  1. Unity 2018.3 is now released.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. We've updated our Terms of Service. Please read our blog post from Unity CTO and Co-Founder Joachim Ante here
    Dismiss Notice
  4. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  5. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

A true P2P Framework for Unity

Discussion in 'Connected Games' started by LemurusBalok, Jan 4, 2019.

  1. LemurusBalok

    LemurusBalok

    Joined:
    May 11, 2017
    Posts:
    26
    All I've seen in Asset Store are Listen Servers which are not "P2P" in the sense that there is a server and the data is sent through it. UNet also seems to follow this Listen Server Concept. Are there any true P2P Networking out there for Unity or C# in general.
     
  2. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    4,230
    Because of the current state of the Internet, where almost every computer is using a non-routable IP address, true P2P, where every client talks directly with every other client, is going to be difficult to get good reliability out of. I would be surprised if there is a well designed framework for that unless it targets LAN games only.
     
    LemurusBalok likes this.
  3. nxrighthere

    nxrighthere

    Joined:
    Mar 2, 2014
    Posts:
    404
    HumbleNet is what you are looking for. It supports Unity, and you can find an introduction article here with an example based on Quake 3.
     
    LemurusBalok likes this.
  4. doctorpangloss

    doctorpangloss

    Joined:
    Feb 20, 2013
    Posts:
    37
    This is pretty much spot on.

    If compatibility isn't important to you and engineering purity is, you can achieve nearly true P2P with IPv6 hosts. You can use DHT and a simple static web server to achieve discovery of peers.
     
    Joe-Censored likes this.