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

[BUG]: AudioListener not picking up audio when BypassListenerEffects checked

Open
#880 1 comment 0 reactions 1 assignee View on GitHub

@karasusan is already working on this.

Since Feb 24, 2023.

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

Description

Package version

3.0.0-pre.4

Environment
* OS: Windows 10
* Unity version: 2021.3
Steps To Reproduce
  1. Use the renderstreaming package
  2. Using a setup with an AudioStreamSender, use an AudioListener (presumably on main camera)
  3. Add and configure an AudioSource to play in loop, check BypassListenerEffects
  4. Start stream
Current Behavior

No audio reaches the browser. Even though the AudioListener seems to pick it up: Disabling the AudioListener component mutes the audio.

Expected Behavior

Audio is picked up regardless of this setting.

Anything else?

Stumbled upon this while using the renderstreaming package, see here: https://github.com/Unity-Technologies/UnityRenderStreaming/issues/884

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.