Unity-Technologies / Unity-Technologies/com.unity.webrtc

[BUG]: Crash On WebRTC.Initialize()

Open
#806 25 comments 0 reactions 1 assignee View on GitHub

@karasusan is already working on this.

Since Sep 6, 2022.

bug issued
Dominant language
Assembly
Stars
852
Forks
238
PR merge metrics
No merged PRs in 30d

Description

Package version

2.4.0-exp.10

Environment
* OS:Windows 11
* Unity version: 2021.3.8f1
Steps To Reproduce
  1. Install Unity WebRTC 2.4.0-exp10
  2. Call WebRTC.Initialize() in any GameObject
Current Behavior

The Unity Editor still crashes when calling WebRTC.Initialize() in version 2.4.0-exp.10, even when deactivating the external graphics card in the laptop, meaning that the implementation cannot deal with iGPUs properly.

Expected Behavior

There actually was a fix available in version 2.4.0-exp.6, which was removed: Please let us set the used encoder type in WebRTC.Initialize() again. The Editor does not crash in that version when calling WebRTC.Initialize(EncoderType.Software). Was this setting just moved to another function or removed altogether? This sadly hinders our development, as we are not able to update the plugin at the moment.

Anything else?

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.