Description

Setting an Input type on Modulation Parameter crashes the editor with:

Assertion failed: Pair != nullptr [File:E:\SMoyls_UE5_Release-5.0\Engine\Source\Runtime\Core\Public\Containers\Map.h] [Line: 643]

This does *not* occur in 5.0.1 and is a regression.

Steps to Reproduce

1) Launch any project with the MetaSound plugin enabled
2) Create a MetaSound Source
3) Add a "Get Modulator Value" node
4) Click and drag off the Modulator pin
5) Select Promote to Graph Input

Expected Result:
Input is created

Actual Result:
Editor Crashes

Callstack
UnrealEditor_MetasoundEditor!Metasound::Editor::FModule::FindDataTypeChecked() [E:\SMoyls_UE5_Release-5.0\Engine\Plugins\Runtime\Metasound\Source\MetasoundEditor\Private\MetasoundEditorModule.cpp:598]
UnrealEditor_MetasoundEditor!UMetasoundEditorGraphMember::ConformLiteralDataType() [E:\SMoyls_UE5_Release-5.0\Engine\Plugins\Runtime\Metasound\Source\MetasoundEditor\Private\MetasoundEditorGraph.cpp:101]
UnrealEditor_MetasoundEditor!UMetasoundEditorGraphVertex::SetDataType() [E:\SMoyls_UE5_Release-5.0\Engine\Plugins\Runtime\Metasound\Source\MetasoundEditor\Private\MetasoundEditorGraph.cpp:352]
UnrealEditor_MetasoundEditor!Metasound::Editor::FMetasoundDataTypeSelector::OnDataTypeSelected() [E:\SMoyls_UE5_Release-5.0\Engine\Plugins\Runtime\Metasound\Source\MetasoundEditor\Private\MetasoundNodeDetailCustomization.cpp:657]
UnrealEditor_MetasoundEditor!<lambda_a7f66889a778aaf6796e4481ff1d7149>::operator()() [E:\SMoyls_UE5_Release-5.0\Engine\Plugins\Runtime\Metasound\Source\MetasoundEditor\Private\MetasoundNodeDetailCustomization.cpp:749]
UnrealEditor_MetasoundEditor!TBaseFunctorDelegateInstance<void __cdecl(TSharedPtr<FString,1>,enum ESelectInfo::Type),FDefaultDelegateUserPolicy,<lambda_a7f66889a778aaf6796e4481ff1d7149> >::ExecuteIfSafe() [E:\SMoyls_UE5_Release-5.0\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:836]
UnrealEditor_ToolWidgets!TDelegate<void __cdecl(TSharedPtr<FString,1>,enum ESelectInfo::Type),FDefaultDelegateUserPolicy>::ExecuteIfBound<void,0>() [E:\SMoyls_UE5_Release-5.0\Engine\Source\Runtime\Core\Public\Delegates\DelegateSignatureImpl.inl:607]
UnrealEditor_ToolWidgets!SSearchableComboBox::OnSelectionChanged_Internal() [E:\SMoyls_UE5_Release-5.0\Engine\Source\Developer\ToolWidgets\Private\SSearchableComboBox.cpp:218]
UnrealEditor_ToolWidgets!TBaseSPMethodDelegateInstance<0,SSearchableComboBox,1,void __cdecl(TSharedPtr<FString,1>,enum ESelectInfo::Type),FDefaultDelegateUserPolicy>::ExecuteIfSafe() [E:\SMoyls_UE5_Release-5.0\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:307]
UnrealEditor_ToolWidgets!TDelegate<void __cdecl(TSharedPtr<FString,1>,enum ESelectInfo::Type),FDefaultDelegateUserPolicy>::ExecuteIfBound<void,0>() [E:\SMoyls_UE5_Release-5.0\Engine\Source\Runtime\Core\Public\Delegates\DelegateSignatureImpl.inl:607]
UnrealEditor_ToolWidgets!SListView<TSharedPtr<FString,1> >::Private_SignalSelectionChanged() [E:\SMoyls_UE5_Release-5.0\Engine\Source\Runtime\Slate\Public\Widgets\Views\SListView.h:960]
UnrealEditor_ToolWidgets!STableRow<TSharedPtr<FString,1> >::OnMouseButtonUp() [E:\SMoyls_UE5_Release-5.0\Engine\Source\Runtime\Slate\Public\Widgets\Views\STableRow.h:557]
UnrealEditor_Slate!<lambda_51e270ca99ea7ce852539efd04dd453f>::operator()() [E:\SMoyls_UE5_Release-5.0\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:4961]
UnrealEditor_Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_51e270ca99ea7ce852539efd04dd453f> >() [E:\SMoyls_UE5_Release-5.0\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:405]
UnrealEditor_Slate!FSlateApplication::RoutePointerUpEvent() [E:\SMoyls_UE5_Release-5.0\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:4947]
UnrealEditor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() [E:\SMoyls_UE5_Release-5.0\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:5495]
UnrealEditor_Slate!FSlateApplication::OnMouseUp() [E:\SMoyls_UE5_Release-5.0\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:5460]
UnrealEditor_ApplicationCore!FWindowsApplication::ProcessDeferredMessage() [E:\SMoyls_UE5_Release-5.0\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:2210]
UnrealEditor_ApplicationCore!FWindowsApplication::DeferMessage() [E:\SMoyls_UE5_Release-5.0\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:2699]
UnrealEditor_ApplicationCore!FWindowsApplication::ProcessMessage() [E:\SMoyls_UE5_Release-5.0\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:1078]
UnrealEditor_ApplicationCore!FWindowsApplication::AppWndProc() [E:\SMoyls_UE5_Release-5.0\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:916]
user32
user32
UnrealEditor_ApplicationCore!FWindowsPlatformApplicationMisc::PumpMessages() [E:\SMoyls_UE5_Release-5.0\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsPlatformApplicationMisc.cpp:138]
UnrealEditor!FEngineLoop::Tick() [E:\SMoyls_UE5_Release-5.0\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:5139]
UnrealEditor!GuardedMain() [E:\SMoyls_UE5_Release-5.0\Engine\Source\Runtime\Launch\Private\Launch.cpp:183]
UnrealEditor!GuardedMainWrapper() [E:\SMoyls_UE5_Release-5.0\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:147]
UnrealEditor!LaunchWindowsStartup() [E:\SMoyls_UE5_Release-5.0\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:283]
UnrealEditor!WinMain() [E:\SMoyls_UE5_Release-5.0\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:330]
UnrealEditor!__scrt_common_main_seh() [d:\a01\_work\12\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
kernel32
ntdll

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentUE - Audio - MetaSounds
Affects Versions5.0.25.1
Target Fix5.0.3
Fix Commit20633587
Main Commit20656342
Release Commit20633587
CreatedMay 27, 2022
ResolvedJun 17, 2022
UpdatedJan 25, 2023