Ensure when swapping to a newly connected USB audio device.
{no format}Ensure condition failed: Cache.Contains(DeviceIdName) [\build++UE5\Sync\Engine\Source\Runtime\Windows\AudioMixerXAudio2\Private\WindowsMMDeviceInfoCache.cpp{no format}
file:///D:/build++UE5SyncEngineSourceRuntimeWindowsAudioMixerXAudio2PrivateWindowsMMDeviceInfoCache.cpp] |
1) Launch AQ_DeviceSwap
2) PIE and play any sound
3) Connect a PS.5 controller or any other USB audio device, such that Windows tries to swap to that output*
*Note: The device you connect needs to be new to Windows. You may need to restart your machine before testing if the device is already plugged in.
Expected Result:
Device swaps without ensuring
Actual Result:
An ensure occurs in the output log
UnrealEditor-AudioMixerXAudio2!Audio::FWindowsMMDeviceCache::OnDeviceStateChanged(FString const &,Audio::EAudioDeviceState,bool) [WindowsMMDeviceInfoCache.cpp:445]UnrealEditor-AudioMixerXAudio2!Audio::FWindowsMMNotificationClient::OnDeviceStateChanged(wchar_t const *,unsigned long) [WindowsMMNotificationClient.cpp:317]MMDevAPI!7ffcf7c20000 + 4f214MMDevAPI!7ffcf7c20000 + 3052cMMDevAPI!7ffcf7c20000 + 14539ntdll!7ffd01a20000 + 21323ntdll!7ffd01a20000 + 16fd6KERNEL32!7ffd01140000 + 154e0ntdll!7ffd01a20000 + 485b
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-145687 in the post.
0 |
Component | UE - Audio |
---|---|
Affects Versions | 5.0 |
Target Fix | 5.0.2 |
Created | Mar 11, 2022 |
---|---|
Resolved | Apr 19, 2022 |
Updated | Jan 25, 2023 |