Description

Starting a SynthComponentToneGenerator crashes the editor with the following assert:

Assertion failed: bSuccess [File:D:\build\++UE5\Sync\Engine\Source\Runtime\SignalProcessing\Private\AudioBufferDistanceAttenuation.cpp] [Line: 20] 

This does not occur in 4.27.2 and is a regression

Blueprint:
[Image Removed]

Steps to Reproduce

1) In the Content Browser, create an Actor Blueprint
2) Add a Synth Component Tone Generator component
3) On EventBeginPlay, Start the tone generator
4) Add the Blueprint to a level
5) PIE

Expected Result:
 Tone generator starts with the default values

Actual Result:
 Editor crashes

Callstack
UnrealEditor-SignalProcessing!7ffad1c40000  + 2092c
UnrealEditor-SignalProcessing!7ffad1c40000  + 230e8
UnrealEditor-Synthesis!7ffa60970000  + 4b7ef
UnrealEditor-Engine!ISoundGenerator::GetNextBuffer(float *,int,bool) [SoundGenerator.cpp:26]
UnrealEditor-AudioMixer!Audio::FAsyncDecodeWorker::DoWork() [AudioMixerSourceDecode.cpp:64]
UnrealEditor-AudioMixer!FAsyncTask<Audio::FAsyncDecodeWorker>::DoWork() [AsyncWork.h:304]
UnrealEditor-AudioMixer!FAsyncTask<Audio::FAsyncDecodeWorker>::DoThreadedWork() [AsyncWork.h:328]
UnrealEditor-Core!FQueuedThreadPoolWrapper::FScheduledWork::DoThreadedWork() [QueuedThreadPoolWrapper.cpp:21]
UnrealEditor-Core!<lambda_925f6c2453012060ddab4eb171196a20>::operator() [Task.h:333]
UnrealEditor-Core!LowLevelTasks::TTaskDelegate<void ,48>::TTaskDelegateImpl<<lambda_925f6c2453012060ddab4eb171196a20>,0>::CallAndMove(LowLevelTasks::TTaskDelegate<void ,48> &,void *,unsigned int,bool) [TaskDelegate.h:171]
UnrealEditor-Core!LowLevelTasks::FTask::ExecuteTask() [Task.h:426]
UnrealEditor-Core!LowLevelTasks::FScheduler::TryExecuteTaskFrom<&LowLevelTasks::TLocalQueueRegistry<1024>::TLocalQueue::DequeueGlobal(bool,bool) [Scheduler.cpp:280]
UnrealEditor-Core!LowLevelTasks::FScheduler::WorkerMain(LowLevelTasks::FSleepEvent *,LowLevelTasks::TLocalQueueRegistry<1024>::TLocalQueue *,unsigned int,bool) [Scheduler.cpp:320]
UnrealEditor-Core!static void UE::Core::Private::Function::TFunctionRefCaller<<lambda_776551d1e343b6cb7eaf0e5521c77c81>,void __cdecl(void) [Function.h:549]
UnrealEditor-Core!FThreadImpl::Run() [Thread.cpp:69]
UnrealEditor-Core!FRunnableThreadWin::Run() [WindowsRunnableThread.cpp:146]
UnrealEditor-Core!FRunnableThreadWin::GuardedRun() [WindowsRunnableThread.cpp:76]
KERNEL32!7ffb00e80000  + 17034
ntdll!7ffb01d10000  + 52651

Have Comments or More Details?

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

1
Login to Vote

Fixed
ComponentUE - Audio
Affects Versions5.0
Target Fix5.0.2
Fix Commit19962818
Main Commit19971719
Release Commit19962818
CreatedMar 29, 2022
ResolvedApr 28, 2022
UpdatedMay 30, 2023
View Jira Issue