Search Issue Tracker

By Design

Votes

0

Found in

5.6.1f1

Issue ID

927251

Regression

No

AudioMixer values are ignored when playing through VideoPlayer in WebGl build

WebGL

-

To reproduce:
1. Open user's project, scene 1stLoad
2. Go to file > build setting > WebGl > Build and run..
3. When the project is up and running in browser, click mute in the top right

Expected: button mutes the sound by adjusting Audio Mixers
Actual: mute button has no effect on audio

Reproduced in: 5.6.1f1, 5.6.2p2, 2017.1.0f3, 2017.2.0b2

Note: video player did not exist on earlier versions
Note: everything is working as intended in editor and other platforms

  1. Resolution Note:

    WebGL does not support output through AudioSource. VideoPlayer.audioOutputMode has to be set to VideoAudioOutputMode.Direct, and then VideoPlayer.SetDirectAudioVolume can be used for volume control.

Add comment

Log in to post comment