Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Bug WebRTC is unable to create a candidate in 2021.2.0

Discussion in 'Unity Render Streaming' started by Hardrocketjs, Apr 20, 2022.

  1. Hardrocketjs

    Hardrocketjs

    Joined:
    Jul 20, 2018
    Posts:
    4
    I tried running the receiver sample in a new Unity Project (2021.2.0). Both server and Application start properly and throw no errors at first. But when the client wants to send his screen to the server, it throws an RTC error of "create candidate is failed". errorLog.png error.png
     
  2. kazuki_unity729

    kazuki_unity729

    Unity Technologies

    Joined:
    Aug 2, 2018
    Posts:
    803
    It looks like the issue of network environment. Are you testing in the local network?
     
  3. Hardrocketjs

    Hardrocketjs

    Joined:
    Jul 20, 2018
    Posts:
    4
    Yes. I tested it via localhost. But I'm gonna test it now on another machine
     
  4. Hardrocketjs

    Hardrocketjs

    Joined:
    Jul 20, 2018
    Posts:
    4
    So a bit more info on the topic. I tried the 2021.2.0f1 version on another sample project. Same problem there.
    What's interesting though, is that the 202.3.24f1 version works properly.
    Further, all tests happened on localhost. No private or public networks were included.
     
  5. Capjayzzz

    Capjayzzz

    Joined:
    Nov 4, 2022
    Posts:
    1
    I have the same problem. I try to test it by setting turn server, but it still didn't work.
     
  6. kazuki_unity729

    kazuki_unity729

    Unity Technologies

    Joined:
    Aug 2, 2018
    Posts:
    803
    @Capjayzzz
    How about Unity 2021.3 LTS and the latest WebRTC version?