How to reproduce:
1. Open the user-attached project “PlayOnGamepadReport”
2. Open the “SampleScene” scene
3. Connect Dualshock 4 to the PC
4. Enter the Play mode
5. Observe the Console
Expected result: There are no errors and the sound is playing
Actual result: There are errors and the sound is not playing
Reproducible with: 2021.3.34f1, 2022.3.18f1, 2023.2.4f1, 2023.3.0b3
Reproducible on: Windows 11 Pro
Note: Also reproducible in Player
Full errors:
1. ERROR: GamepadSpeaker::Create - failed to create DSP for new user's Gamepad.
UnityEngine.AudioSource:PlayOnGamepad (int)
Test:Start () (at Assets/Test.cs:14)
2. C:\build\output\unity\unity\Modules\Audio\Public\AudioSource.cpp(482) : Error executing newParentGroup->addGroup(m_wetGroup) (An invalid object handle was used. )
UnityEngine.AudioSource:PlayOnGamepad (int)
Test:Start () (at Assets/Test.cs:14)