Description

Issue has been seen a couple times internally and closed as No Longer occurring. Looking at Crash Reporter, issue has been seen live a number of times.

Looking at user logs, occurs after:

LogAudioMixer: Warning: Timeout waiting for inflight device-swap

See: [Link Removed]

Previously reported internal bugs are linked.

Steps to Reproduce

Repro requires having at least two audio output devices connected to your PC

1) Open any project in the editor
2) Enter the CVAR "au.ThreadedSwapDebugExtraTime 1000000"
3) In Windows, change your audio output device
4) Close the editor
5) Wait a moment

Expected Result:
 No crashes appear after shutdown

Actual Result:
 The editor crashes on shutdown

Callstack
UnrealEditor-AudioMixerCore!Audio::IAudioMixerPlatformInterface::~IAudioMixerPlatformInterface() [AudioMixer.cpp:355]
UnrealEditor-AudioMixerXAudio2!7ffaa42f0000  + 8c3b
UnrealEditor-AudioMixer!Audio::FMixerDevice::~FMixerDevice() [AudioMixerDevice.cpp:205]
UnrealEditor-Engine!7ffad7d20000  + 9dfe05
UnrealEditor-Engine!FAudioDeviceManager::DecrementDevice(unsigned int,UWorld *) [AudioDeviceManager.cpp:827]
UnrealEditor-Engine!FAudioDeviceHandle::operator=(FAudioDeviceHandle &&) [AudioDeviceManager.cpp:1764]
UnrealEditor-Engine!FAudioDeviceHandle::Reset() [AudioDeviceManager.cpp:1673]
UnrealEditor-Engine!FAudioDeviceManager::~FAudioDeviceManager() [AudioDeviceManager.cpp:237]
UnrealEditor-Engine!FAudioDeviceManager::Shutdown() [AudioDeviceManager.cpp:951]
UnrealEditor!7ff78b600000  + 23473
UnrealEditor!7ff78b600000  + 247cb
UnrealEditor!7ff78b600000  + 2482a
UnrealEditor!7ff78b600000  + 274f0
UnrealEditor!7ff78b600000  + 3a4c4
UnrealEditor!7ff78b600000  + 3d996
KERNEL32!7ffb55b40000  + 155a0
ntdll!7ffb572a0000  + 485b

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-191164 in the post.

0
Login to Vote

Fixed
ComponentUE - Audio
Affects Versions5.45.55.15.25.3
Target Fix5.5
Fix Commit34899989
CreatedJul 25, 2023
ResolvedJul 18, 2024
UpdatedJul 22, 2024
View Jira Issue