Description

Encountered while going through some debug commands.
Repro 3/3.
Crash Reporter Link: [Link Removed]

Assertion failed: ChunkIndex != 0 [File:E:\User\Engine\Source\Runtime\Engine\Private\AudioStreamingCache.cpp] [Line: 515] Decoder tried to access the zeroth chunk through the streaming manager. Use USoundWave::GetZerothChunk() instead. 
Steps to Reproduce

1) Launch AudioQA
2) Add the Sound Wave FemaleVoice_looping to the default level
3) PIE
4) Open the console and enter au.editor.ForceAudioNonStreaming 1
5) Stop PIE
6) PIE again

Expected Result:
 Audio plays without issue

Actual Result:
 Editor crashes

Callstack
UnrealEditor_Engine!FCachedAudioStreamingManager::GetLoadedChunk() [AudioStreamingCache.cpp:515]
UnrealEditor_Engine!FSoundWaveProxy::GetZerothChunk() [SoundWave.cpp:3963]
UnrealEditor_Engine!IStreamedCompressedInfo::StreamCompressedInfoInternal() [AudioDecompress.cpp:156]
UnrealEditor_Engine!ICompressedAudioInfo::StreamCompressedInfo() [AudioDecompress.cpp:835]
UnrealEditor_AudioMixer!Audio::FMixerBuffer::CreateStreamingBuffer() [AudioMixerBuffer.cpp:342]
UnrealEditor_AudioMixer!Audio::FMixerBuffer::Init() [AudioMixerBuffer.cpp:296]
UnrealEditor_AudioMixer!Audio::FMixerSource::PrepareForInitialization() [AudioMixerSource.cpp:815]
UnrealEditor_Engine!FAudioDevice::StartSources() [AudioDevice.cpp:4227]
UnrealEditor_Engine!FAudioDevice::Update() [AudioDevice.cpp:4537]
UnrealEditor_Engine!FAudioDeviceManager::IterateOverAllDevices() [AudioDeviceManager.cpp:963]
UnrealEditor_Engine!FAudioDeviceManager::UpdateActiveAudioDevices() [AudioDeviceManager.cpp:944]
UnrealEditor_UnrealEd!UEditorEngine::Tick() [EditorEngine.cpp:2052]
UnrealEditor_UnrealEd!UUnrealEdEngine::Tick() [UnrealEdEngine.cpp:474]
UnrealEditor!FEngineLoop::Tick() [LaunchEngineLoop.cpp:5215]
UnrealEditor!GuardedMain() [Launch.cpp:183]
UnrealEditor!GuardedMainWrapper() [LaunchWindows.cpp:147]
UnrealEditor!LaunchWindowsStartup() [LaunchWindows.cpp:283]
UnrealEditor!WinMain() [LaunchWindows.cpp:330]
UnrealEditor!__scrt_common_main_seh() [exe_common.inl:288]

Have Comments or More Details?

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

0
Login to Vote

Backlogged
ComponentUE - Audio - Stream Caching
Affects Versions5.45.05.15.25.35.5
Target Fix5.6
CreatedMay 31, 2022
UpdatedSep 30, 2024
View Jira Issue