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. Join us on Dec 8, 2022, between 7 am & 7 pm EST, in the DOTS Dev Blitz Day 2022 - Q&A forum, Discord, and Unity3D Subreddit to learn more about DOTS directly from the Unity Developers.
    Dismiss Notice
  3. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

How to get signaling server at runtime?

Discussion in 'Unity Render Streaming' started by mgstauff, Aug 2, 2022.

  1. mgstauff

    mgstauff

    Joined:
    Sep 6, 2017
    Posts:
    58
    Hi, is it possible to get the current signaling server URL at runtime? RenderStreaming doesn't expose the SignalingURL field. I'd like to get it at runtime in builds to include in debug info. Thanks.
     
  2. mgstauff

    mgstauff

    Joined:
    Sep 6, 2017
    Posts:
    58
    And I should add, how can I set it at runtime?
     
  3. kazuki_unity729

    kazuki_unity729

    Unity Technologies

    Joined:
    Aug 2, 2018
    Posts:
    543
  4. mgstauff

    mgstauff

    Joined:
    Sep 6, 2017
    Posts:
    58
  5. kazuki_unity729

    kazuki_unity729

    Unity Technologies

    Joined:
    Aug 2, 2018
    Posts:
    543
    Yes. As you say, it is inconvenient.
    We will make the API for your issue. Thank you.
     
  6. Lares_Wang

    Lares_Wang

    Joined:
    Nov 19, 2022
    Posts:
    2
  7. kazuki_unity729

    kazuki_unity729

    Unity Technologies

    Joined:
    Aug 2, 2018
    Posts:
    543
    You need to implement the command-line args yourself.
    The command-line execution support is planned for our roadmap.
     
  8. Lares_Wang

    Lares_Wang

    Joined:
    Nov 19, 2022
    Posts:
    2
    Modify the source code is not acceptable due to our requirement. Thanks anyway.
     
  9. kazuki_unity729

    kazuki_unity729

    Unity Technologies

    Joined:
    Aug 2, 2018
    Posts:
    543
    We will touch the development of the command-line args support for the first release of next year.