com.unity.webrtc icon indicating copy to clipboard operation
com.unity.webrtc copied to clipboard

[BUG]: standalone exe for the application When calling WebRTC.Initialize() app crashes

Open ybkimmm opened this issue 1 year ago • 3 comments

Package version

Others

Environment

* OS:windows10
* Unity version: 2022.2.1f1
unity webrtc version -> 2.4.0-exp.11

Steps To Reproduce

void Start() { WebRTC.Initialize(); }

Current Behavior

WebRTC. Initialize(); calling terminates the app

There are no errors in unity debug. No error alarms. just App is forced off

This happens on certain laptops. The graphics card is dual.

Intel integrated graphics and nvidia external graphics

Even if I disable the integrated graphics, same result

Graphics card versions are all up to date.

The graphics card model of the laptop is mx150 and intel uhd graphics 620

Can't use UnityWebrtc if my graphic card doesn't support encoder? I've attached a screenshot

Expected Behavior

exe or unityeditor also force quit

Anything else?

2023-03-20 141534

ybkimmm avatar Mar 20 '23 05:03 ybkimmm

Sorry for bother you. We should reproduce the issue but we have no environment. Some developers reported the same issue. https://github.com/Unity-Technologies/com.unity.webrtc/issues/806

karasusan avatar Mar 20 '23 06:03 karasusan

Sorry for bother you. We should reproduce the issue but we have no environment. Some developers reported the same issue. #806

NativeMethods.ContextCreate(id); crash in part Is there any way to solve it?

ybkimmm avatar Mar 20 '23 07:03 ybkimmm

@ybkimmm I think there is workaround that disabling NVIDIA graphics card.

karasusan avatar Mar 20 '23 08:03 karasusan