Description

Editor crashes when Trigger on Threshold node is hooked up in a Metasound graph and played using a threshold value defined on the node. If you use an Input node for the Threshold value, the crash does not occur.

Steps to Reproduce

1) Create a MetaSound Source
2) Add a Trigger on Threshold node
3) Connect the Output to the On Finished node
4) Play the MetaSound

Expected Result:
Graph is stable

Actual Result:
Editor crashes

Callstack
LoginId:053ab6144e590967f02ed797367af535
EpicAccountId:5530892f23d54c15939308635b562ecf

Unhandled Exception: EXCEPTION_ACCESS_VIOLATION 0x0000000000000000

UnrealEditor_MetasoundGraphCore!Metasound::FInputDataVertex::GetDefaultLiteral() [E:\SMoyls_UE5_Release-5.0\Engine\Plugins\Runtime\Metasound\Source\MetasoundGraphCore\Private\MetasoundVertex.cpp:59]
UnrealEditor_MetasoundStandardNodes!Metasound::FTriggerOnThresholdOperator::CreateOperator() [E:\SMoyls_UE5_Release-5.0\Engine\Plugins\Runtime\Metasound\Source\MetasoundStandardNodes\Private\MetasoundTriggerOnThresholdNode.cpp:240]
UnrealEditor_MetasoundStandardNodes!UE::Core::Private::Function::TFunctionRefCaller<TUniquePtr<Metasound::IOperator,TDefaultDelete<Metasound::IOperator> > (__cdecl*)(Metasound::FCreateOperatorParams const &,TArray<TUniquePtr<Metasound::IOperatorBuildError,TD() [E:\SMoyls_UE5_Release-5.0\Engine\Source\Runtime\Core\Public\Templates\Function.h:539]
UnrealEditor_MetasoundGraphCore!Metasound::FNodeFacade::FFactory::CreateOperator() [E:\SMoyls_UE5_Release-5.0\Engine\Plugins\Runtime\Metasound\Source\MetasoundGraphCore\Private\MetasoundFacade.cpp:15]
UnrealEditor_MetasoundGraphCore!Metasound::FOperatorBuilder::CreateOperators() [E:\SMoyls_UE5_Release-5.0\Engine\Plugins\Runtime\Metasound\Source\MetasoundGraphCore\Private\MetasoundOperatorBuilder.cpp:436]
UnrealEditor_MetasoundGraphCore!Metasound::FOperatorBuilder::BuildGraphOperator() [E:\SMoyls_UE5_Release-5.0\Engine\Plugins\Runtime\Metasound\Source\MetasoundGraphCore\Private\MetasoundOperatorBuilder.cpp:194]
UnrealEditor_MetasoundGenerator!Metasound::FAsyncMetaSoundBuilder::DoWork() [E:\SMoyls_UE5_Release-5.0\Engine\Plugins\Runtime\Metasound\Source\MetasoundGenerator\Private\MetasoundGenerator.cpp:62]
UnrealEditor_MetasoundGenerator!FAsyncTask<Metasound::FAsyncMetaSoundBuilder>::DoWork() [E:\SMoyls_UE5_Release-5.0\Engine\Source\Runtime\Core\Public\Async\AsyncWork.h:304]
UnrealEditor_MetasoundGenerator!FAsyncTask<Metasound::FAsyncMetaSoundBuilder>::DoThreadedWork() [E:\SMoyls_UE5_Release-5.0\Engine\Source\Runtime\Core\Public\Async\AsyncWork.h:328]
UnrealEditor_Core!FQueuedThread::Run() [E:\SMoyls_UE5_Release-5.0\Engine\Source\Runtime\Core\Private\HAL\ThreadingBase.cpp:1313]
UnrealEditor_Core!FRunnableThreadWin::Run() [E:\SMoyls_UE5_Release-5.0\Engine\Source\Runtime\Core\Private\Windows\WindowsRunnableThread.cpp:146]

Have Comments or More Details?

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

1
Login to Vote

Fixed
ComponentUE - Audio - MetaSounds
Affects Versions5.0
Target Fix5.0.2
Fix Commit19907192
Main Commit19529631
Release Commit19907192
CreatedMar 15, 2022
ResolvedApr 25, 2022
UpdatedJan 25, 2023