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.
  2. Dismiss Notice

Resolved Relay and WebGL

Discussion in 'Relay' started by MirekUhlir, Nov 14, 2021.

Thread Status:
Not open for further replies.
  1. MirekUhlir

    MirekUhlir

    Joined:
    Feb 20, 2016
    Posts:
    3
    Hi there,
    is it possible to use Relay in WebGL?
    Thank you
     
  2. MirekUhlir

    MirekUhlir

    Joined:
    Feb 20, 2016
    Posts:
    3
    Relay works on UDP, right? I know that web browsers use TCP, but is there any workaround?
     
  3. Unity_Brandon

    Unity_Brandon

    Unity Technologies

    Joined:
    Sep 29, 2016
    Posts:
    18
    Hey Mirek,

    Currently, Relay isn't supported in WebGL. You are right in that Relay relies on the Unity Transport Protocol (UTP) which depends on UDP. Relay also relies on the Unity Authentication Service (UAS) which doesn't currently support WebGL either. That being said since these services are in beta we're seeing a lot of frequent improvements, so I would recommend keeping an eye out for any updates where that might change.
     
  4. developerarreterra

    developerarreterra

    Joined:
    Oct 8, 2018
    Posts:
    17
    Is there any update if or when Unity Relay will support WebGL?
     
  5. Unity_Brandon

    Unity_Brandon

    Unity Technologies

    Joined:
    Sep 29, 2016
    Posts:
    18
    Presently, Relay still does not support WebAssembly/Javascript/WebGL/WebRTC/HTML5. However, I know there are several initiates in the works to look into broader platform support across a few of the dependencies. I recommend regularly checking in here and docs as we frequently release new features.
     
Thread Status:
Not open for further replies.