Description

Clicking and holding anywhere on the editor outside the viewport when PIE causes a crash. The AudioRendering thread throws the following assert: Assertion failed: FreeClipIndex < PlayingClipsPool_AudioRenderThread.Num() TimeSynthComponent.cpp [Line: 774]

Tested in 4.23 (CL - 8386587), 4.24 (CL - 9526430)

Steps to Reproduce

1. Download the attached project
2. PIE
3. Click and hold anywhere outside of the viewport for 15-20 seconds
4. Resume focus to the viewport

Expected: The TimeSynth interval noises would repeat as usual
Result: The editor crashes

Callstack

LoginId:5964f8f84766f4b976277180442869c1
EpicAccountId:09beab8e986143689ef53ab4528441ec

Assertion failed: FreeClipIndex < PlayingClipsPool_AudioRenderThread.Num() [Link Removed] [Line: 774]

UE4Editor_Core!FWindowsErrorOutputDevice::Serialize() [d:\build\++ue4\sync\engine\source\runtime\core\private\windows\windowserroroutputdevice.cpp:79]
UE4Editor_Core!FOutputDevice::LogfImpl() [d:\build\++ue4\sync\engine\source\runtime\core\private\misc\outputdevice.cpp:71]
UE4Editor_Core!AssertFailedImplV() [d:\build\++ue4\sync\engine\source\runtime\core\private\misc\assertionmacros.cpp:101]
UE4Editor_Core!FDebug::CheckVerifyFailedImpl() [d:\build\++ue4\sync\engine\source\runtime\core\private\misc\assertionmacros.cpp:445]
UE4Editor_TimeSynth!<lambda_8bb4f0fa15f158ca2997bf485d98658e>::operator()() [d:\build\++ue4\sync\engine\plugins\runtime\timesynth\source\timesynth\private\timesynthcomponent.cpp:774]
UE4Editor_AudioMixer!USynthComponent::PumpPendingMessages() [d:\build\++ue4\sync\engine\source\runtime\audiomixer\private\components\synthcomponent.cpp:342]
UE4Editor_AudioMixer!USynthComponent::OnGeneratePCMAudio() [d:\build\++ue4\sync\engine\source\runtime\audiomixer\private\components\synthcomponent.cpp:369]
UE4Editor_AudioMixer!USynthSound::OnGeneratePCMAudio() [d:\build\++ue4\sync\engine\source\runtime\audiomixer\private\components\synthcomponent.cpp:69]
UE4Editor_Engine!USoundWaveProcedural::GeneratePCMData() [d:\build\++ue4\sync\engine\source\runtime\engine\private\soundwaveprocedural.cpp:94]
UE4Editor_XAudio2!FAsyncTask<FAsyncRealtimeAudioTaskWorker<FXAudio2SoundBuffer> >::DoWork() [d:\build\++ue4\sync\engine\source\runtime\core\public\async\asyncwork.h:271]
UE4Editor_XAudio2!FAsyncTask<FAsyncRealtimeAudioTaskWorker<FXAudio2SoundBuffer> >::DoThreadedWork() [d:\build\++ue4\sync\engine\source\runtime\core\public\async\asyncwork.h:296]
UE4Editor_Core!FQueuedThread::Run() [d:\build\++ue4\sync\engine\source\runtime\core\private\hal\threadingbase.cpp:510]
UE4Editor_Core!FRunnableThreadWin::Run() [d:\build\++ue4\sync\engine\source\runtime\core\private\windows\windowsrunnablethread.cpp:96]

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-81679 in the post.

3
Login to Vote

Unresolved
ComponentAudio
Affects Versions4.234.24
Target Fix4.24
CreatedOct 10, 2019
UpdatedOct 10, 2019