Hello
We just updated our engine to 5.6.1, and since that update I’m getting editor crashes when working with specific metasound assets. Before the update, I didn’t experience any crashes of this sort.
I am not using any custom nodes in the graphs - only metasound patches and other metasound sources.
Crash report:
Assertion failed: Reason == Metasound::Frontend::EInvalidEdgeReason::None [File:C:\Repos\Perforce\Engine\Engine\Plugins\Runtime\Metasound\Source\MetasoundFrontend\Private\MetasoundFrontendDocumentBuilder.cpp] [Line: 831]
Attempted call to AddEdge in MetaSound Builder where edge is invalid: Mismatched Access Type.
UnrealEditor_Core!FDebug::CheckVerifyFailedImpl2() [C:\Repos\Perforce\Engine\Engine\Source\Runtime\Core\Private\Misc\AssertionMacros.cpp:728]
UnrealEditor_MetasoundFrontend!FMetaSoundFrontendDocumentBuilder::AddEdge() [C:\Repos\Perforce\Engine\Engine\Plugins\Runtime\Metasound\Source\MetasoundFrontend\Private\MetasoundFrontendDocumentBuilder.cpp:831]
UnrealEditor_MetasoundFrontend!Metasound::Frontend::ReroutePrivate::FRerouteNodeTemplateTransform::Transform() [C:\Repos\Perforce\Engine\Engine\Plugins\Runtime\Metasound\Source\MetasoundFrontend\Private\NodeTemplates\MetasoundFrontendNodeTemplateReroute.cpp:77]
The crash occurs when:
- Opening specific metasound sources or patches.
- Some of them always trigger the assert, and others only do it when I’m opening the metasound the first time during that editor session.
 
 - Opening a metasound preset that uses a crashing metasound source.
 - Modifying the settings of an input.
 - Saving the metasound.
 - Undoing a change in the graph.
 
Additional observations:
- The assert fails ~9-18 times before being able to resume the program from the IDE.
 - The PageID seems to be NULL in FMetaSoundFrontendDocumentBuilder::AddEdge.
 - The asset settings (like Volume, Pitch, etc.) do not cause a crash - unless undoing the change.
 
Output Log after resuming the program:
When trying to open a metasound source or patch:
LogAssetEditorSubsystem: Opening Asset editor for MetaSoundPatch /Game/Audio/MetaSoundUtility/Patches/MSP_InterpSineOut.MSP_InterpSineOut
LogOutputDevice: Warning: Script Stack (0 frames) :
LogOutputDevice: Warning: Script Stack (0 frames) :
LogOutputDevice: Warning: Script Stack (0 frames) :
LogOutputDevice: Warning: Script Stack (0 frames) :
LogOutputDevice: Warning: Script Stack (0 frames) :
LogOutputDevice: Warning: Script Stack (0 frames) :
LogOutputDevice: Warning: Script Stack (0 frames) :
LogOutputDevice: Warning: Script Stack (0 frames) :
LogOutputDevice: Warning: Script Stack (0 frames) :
LogSlate: The tab “MetasoundEditor_Pages” attempted to spawn in layout ‘Standalone_MetasoundEditor_Layout_v15’ but failed for some reason. It will not be displayed.
LogSlate: The tab “MetasoundEditor_UserPresetWidget” attempted to spawn in layout ‘Standalone_MetasoundEditor_Layout_v15’ but failed for some reason. It will not be displayed.
LogSlate: The tab “MetasoundEditor_UserPresetWidget” attempted to spawn in layout ‘Standalone_MetasoundEditor_Layout_v15’ but failed for some reason. It will not be displayed.
When trying to undo a property setting change:
LogEditorTransaction: Undo Edit Default
LogOutputDevice: Warning: Script Stack (0 frames) :
LogOutputDevice: Warning: Script Stack (0 frames) :
LogOutputDevice: Warning: Script Stack (0 frames) :
LogOutputDevice: Warning: Script Stack (0 frames) :
LogOutputDevice: Warning: Script Stack (0 frames) :
LogOutputDevice: Warning: Script Stack (0 frames) :
LogOutputDevice: Warning: Script Stack (0 frames) :
LogOutputDevice: Warning: Script Stack (0 frames) :
LogOutputDevice: Warning: Script Stack (0 frames) :
LogOutputDevice: Warning: Script Stack (0 frames) :
LogOutputDevice: Warning: Script Stack (0 frames) :
LogOutputDevice: Warning: Script Stack (0 frames) :
LogOutputDevice: Warning: Script Stack (0 frames) :
LogOutputDevice: Warning: Script Stack (0 frames) :
LogOutputDevice: Warning: Script Stack (0 frames) :
LogOutputDevice: Warning: Script Stack (0 frames) :
LogOutputDevice: Warning: Script Stack (0 frames) :
LogOutputDevice: Warning: Script Stack (0 frames) :
LogMetasoundEditor: Warning: Failed to synchronize Frontend Node ‘Trigger Compare (Int32)’ Connection: Pin ‘Compare’
LogMetasoundEditor: Warning: Failed to synchronize Frontend Node ‘Num (WaveAsset:Array)’ Connection: Pin ‘Array’
LogMetasoundEditor: Warning: Failed to synchronize Frontend Node ‘Get Wave Info’ Connection: Pin ‘Wave’
LogMetasoundEditor: Warning: Failed to synchronize Frontend Node ‘Trigger Compare (Float)’ Connection: Pin ‘Compare’