Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Feature Request WebGL and UDP

Discussion in 'Unity Transport' started by MariuszKowalczyk, Mar 24, 2023.

  1. MariuszKowalczyk

    MariuszKowalczyk

    Joined:
    Nov 29, 2011
    Posts:
    290
    Any chance that Transport will ever support Unreliable pipeline in WebGL?
     
  2. simon-lemay-unity

    simon-lemay-unity

    Unity Technologies

    Joined:
    Jul 19, 2021
    Posts:
    276
    We do not have any concrete plans to support sending traffic using anything other than WebSockets on WebGL, at least not in the short or medium term. To be able to send traffic without reliability guarantees, we'd need a web standard that offers that, and the only non-draft standard I'm aware of that does is WebRTC, which is not very well adapted to our use case.
     
  3. MariuszKowalczyk

    MariuszKowalczyk

    Joined:
    Nov 29, 2011
    Posts:
    290
    Yes I had WebRTC in mind as I have seen one game (haxball.com) using it and it seems to work pretty well for them.

    I plan to create turn based web games so I don't need it at the moment, but still would be nice to have such possibility in the future.