Search Unity

How to use TNet3 for webgl multiplayer unity games.

Discussion in 'Multiplayer' started by vovskill555, Apr 6, 2021.

  1. vovskill555

    vovskill555

    Joined:
    Jan 7, 2021
    Posts:
    6
    I want to build unity real-time multiplayer games for browser.
    As you Know I want to build this game with webgl and use TNet 3.unitypackage for multiplayer.
    But actually the game doesn't work after loading in browser.
    I want to help.
    Please help me to use TNet 3 for webgl multiplayer games.

    Thanks
     
  2. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    TNet 3 has its own support forum. I'd ask there, but it looks like development on TNet 3 stopped a couple years ago, and I don't see any info on WebGL support being added. WebGL has extremely limited networking functionality compared to the rest of Unity, which is a browser limitation.
     
  3. vovskill555

    vovskill555

    Joined:
    Jan 7, 2021
    Posts:
    6
    Thanks Joe-Censored.

    Can you give me some offer for webgl multiplayer games?
     
  4. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    LogicFlow likes this.
  5. vovskill555

    vovskill555

    Joined:
    Jan 7, 2021
    Posts:
    6
    Thanks for your inform.
     
  6. vovskill555

    vovskill555

    Joined:
    Jan 7, 2021
    Posts:
    6
    upload_2021-4-8_22-23-15.png
    Hello friend.
    The error occurs while I was loading the webgl in my browser.
    Please solve this error for me.

    If you have any completed unity webgl multiplayer game project (client + server) , I can buy your project.
    Please let me know about this.
     
  7. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    You'll probably want to ask questions about webgl failing to load over in the webgl forum, and people will want to see the full stack trace I'm sure.
     
  8. LogicFlow

    LogicFlow

    Joined:
    Aug 18, 2018
    Posts:
    33
    A year later but as I'm looking into TNet3 myself...

    For all intents and purposes according to the author, TNet3 is feature-complete. It has basic UDP support along with TCP NO_DELAY. Enough for most games.

    Since you get the source code when you buy TNet3, it would be possible to implement your own transport layer e.g. WebSockets, WebRTC, rUDP etc.

    The author has a history of shipping solid products and games (NGUI, Windward, etc.) so I doubt there are any outstanding issues. AFAIK, TNet3 still works with current Unity versions, which is a testament to its quality. He probably won't return here after his being employed briefly by Unity during the development of the "new" UI, as he has been dead silent on these forums (but not elsewhere) since 2013 - draw your own conclusions from this.
     
    Last edited: May 10, 2022