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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question Relay flow for non-Unity engines

Discussion in 'Relay' started by tia25, Jan 5, 2023.

  1. tia25

    tia25

    Joined:
    Oct 6, 2017
    Posts:
    4


    Here is a successful Join Relay Server response from the REST API that gives me 3 different ports.

    Could you, please, clarify on the connection flow using non-Unity engines?

    The most comprehensive Unity example on YT uses additional Singleton/Unity Transport technology that connects players automatically. It's unclear what would be the flow for another engine.

    In my case, using UE5, I get successful Relay Join Server response and then I'm hosting a listen game session on the initial client using the first Port provided to which the second client tries to connect to using the Relay allocation IP address.

    However, I get the below message:

    Please kindly advise.
     

    Attached Files:

  2. tia25

    tia25

    Joined:
    Oct 6, 2017
    Posts:
    4
    This tells me that "for an alternative engine or networking solution, you’ll need to implement the Relay message protocol before using it."

    So, could you please kindly provide me any guidance on how to make the BIND message manually to the Relay server?

    So far, I can:
    *Connect 2 clients to the Relay Server via REST API.
    *Connect those clients to the IP address of the Relay server using WebSocket API, UDP protocol which allows me to send an array of bytes, for example.

    Any help would mean the world to me, I'm begging!