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

WebRTC Runtime Error when WebRTC.Init called.

Discussion in 'Unity Render Streaming' started by unity_wOL-txLFLHIqtw, Jun 11, 2022.

  1. unity_wOL-txLFLHIqtw

    unity_wOL-txLFLHIqtw

    Joined:
    Jun 10, 2022
    Posts:
    6
    upload_2022-6-11_7-4-53.png

    I am unable to track down what causes this, happens with my project and all the samples when WebRTC.Initialize() is called

    Happens in UnityEditor(crashes editor too) or standalone exe of the application

    Doesn't happen on all machines the i9's are unaffected, the i5's crash all ASUS laptops.

    Unknown when it started happening the i5s did not develop the webrtc application until now

    Tried deleting and reinstalling the C++ redistributables but it has not helped. I installed them all and now just have three left but still happens.

    upload_2022-6-11_7-8-43.png upload_2022-6-11_7-8-28.png
    upload_2022-6-11_7-9-2.png

    Which C++ redist versions are used during the experimental development of WebRTC?
    Or anything else what might be causing this.

    Thank you.
     

    Attached Files:

    Last edited: Jun 11, 2022
  2. kazuki_unity729

    kazuki_unity729

    Unity Technologies

    Joined:
    Aug 2, 2018
    Posts:
    803
    It looks the same issue.
    https://github.com/Unity-Technologies/com.unity.webrtc/issues/734
     
    dziegto likes this.
  3. dziegto

    dziegto

    Joined:
    Dec 2, 2021
    Posts:
    1
    I was able to fix it by updating the video driver (gforce 850m latest old 2018, took a bit to find) and disabling the intel graphics device.
     
    kazuki_unity729 likes this.