Steps to reproduce:
- Unzip the attached file OAFR-stop-bug.zip
- Open the contained Unity project
- Open the scene SampleScene
- Enter play mode
- Enable the component Sine OAFR, which is attached to the Audio Source game object
- Observe audio is playing
- Click the button in the scene
Actual results:
Nothing happens.
Expected results:
The audio stops playing.
Reproducible with versions:
6000.0.57f1, 6000.3.0b2, 6000.4.0a1
Not reproducible with versions:
N/A
Can’t test with versions:
N/A
Tested on (OS):
macOS 15.6.1
Notes:
As this was discovered during testing of [Internal link], there is already a test for this. When a fix is ready, re-enable the currently ignored test case ToggleEnabledStateOfGeneratorOAFR_WhilePlaying_AffectsSignalAsExpected(Prefab,AudioListener,Disabled). This is done by removing the conditional [Internal link].