WebRTC is unable to create a candidate in 2021.2.0

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”.

8063123--1041485--error.png

It looks like the issue of network environment. Are you testing in the local network?

Yes. I tested it via localhost. But I’m gonna test it now on another machine

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.

I have the same problem. I try to test it by setting turn server, but it still didn’t work.

@Capjayzzz
How about Unity 2021.3 LTS and the latest WebRTC version?