Description

When adding the Add Component By Class node, choosing a class that has a Relative Transform pin, changing the transform, and deleting the node the editor crashes. I tested this with the Skeletal Mesh Component and Arrow Component classes. Adding another class like an Actor Component that doesn't have a Relative Transform pin and then deleting it does not crash the editor.

Additionally, the editor only crashes after changing the Relative Transform pin. If you delete it beforehand there is no crash. I also tested the Add Skeletal Mesh Component node by changing the relative transform and then deleting the node and no crash occurred.

The node does not exist in 4.25, so not marking as a Regression.

Steps to Reproduce
  1. Open any project
  2. Create a new Actor Blueprint Class
  3. Drag off the Event Begin Play pin
  4. Add an "Add Component by Class" node
  5. Set the Class as Skeletal Mesh Component
  6. Right-click the Relative Transform pin
  7. Select Split Struct Pin
  8. Change the Relative Transform Scale's X value to 0.1
  9. Delete the Add Component By Class node

RESULT:

**The editor crashes

EXPECTED:

The user can delete the node without error

 

Callstack
=== Critical error: ===

Assertion failed: Pair != nullptr [File:D:\Build\++UE4\Sync\Engine\Source\Runtime\Core\Public\Containers/Map.h] [Line: 621] 



[Callstack] 0x00007ffa3b253b29 KERNELBASE.dll!UnknownFunction []
[Callstack] 0x00007ff9cd55d096 UE4Editor-Core.dll!ReportAssert() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Core\Private\Windows\WindowsPlatformCrashContext.cpp:1627]
[Callstack] 0x00007ff9cd5607f8 UE4Editor-Core.dll!FWindowsErrorOutputDevice::Serialize() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Core\Private\Windows\WindowsErrorOutputDevice.cpp:78]
[Callstack] 0x00007ff9cd26e98d UE4Editor-Core.dll!FOutputDevice::LogfImpl() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Core\Private\Misc\OutputDevice.cpp:61]
[Callstack] 0x00007ff9cd205625 UE4Editor-Core.dll!AssertFailedImplV() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Core\Private\Misc\AssertionMacros.cpp:104]
[Callstack] 0x00007ff9cd2076d0 UE4Editor-Core.dll!FDebug::CheckVerifyFailedImpl() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Core\Private\Misc\AssertionMacros.cpp:461]
[Callstack] 0x00007ff9c2861838 UE4Editor-BlueprintGraph.dll!UK2Node::RewireOldPinsToNewPins() [D:\Build\++UE4\Sync\Engine\Source\Editor\BlueprintGraph\Private\K2Node.cpp:1202]
[Callstack] 0x00007ff9c28554cd UE4Editor-BlueprintGraph.dll!UK2Node_ConstructObjectFromClass::OnClassPinChanged() [D:\Build\++UE4\Sync\Engine\Source\Editor\BlueprintGraph\Private\K2Node_ConstructObjectFromClass.cpp:239]
[Callstack] 0x00007ff9c2856e30 UE4Editor-BlueprintGraph.dll!UK2Node_ConstructObjectFromClass::PinConnectionListChanged() [D:\Build\++UE4\Sync\Engine\Source\Editor\BlueprintGraph\Private\K2Node_ConstructObjectFromClass.cpp:253]
[Callstack] 0x00007ff9c9a9379c UE4Editor-Engine.dll!UEdGraphSchema::BreakPinLinks() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Engine\Private\EdGraph\EdGraphSchema.cpp:589]
[Callstack] 0x00007ff9c27b91db UE4Editor-BlueprintGraph.dll!UEdGraphSchema_K2::BreakPinLinks() [D:\Build\++UE4\Sync\Engine\Source\Editor\BlueprintGraph\Private\EdGraphSchema_K2.cpp:4378]
[Callstack] 0x00007ff9c9a933fe UE4Editor-Engine.dll!UEdGraphSchema::BreakNodeLinks() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Engine\Private\EdGraph\EdGraphSchema.cpp:546]
[Callstack] 0x00007ff9c27b90a0 UE4Editor-BlueprintGraph.dll!UEdGraphSchema_K2::BreakNodeLinks() [D:\Build\++UE4\Sync\Engine\Source\Editor\BlueprintGraph\Private\EdGraphSchema_K2.cpp:4361]
[Callstack] 0x00007ff9c60c9bd2 UE4Editor-UnrealEd.dll!FBlueprintEditorUtils::RemoveNode() [D:\Build\++UE4\Sync\Engine\Source\Editor\UnrealEd\Private\Kismet2\BlueprintEditorUtils.cpp:2883]
[Callstack] 0x00007ff9c4912664 UE4Editor-Kismet.dll!FBlueprintEditor::DeleteSelectedNodes() [D:\Build\++UE4\Sync\Engine\Source\Editor\Kismet\Private\BlueprintEditor.cpp:6510]
[Callstack] 0x00007ff9c491d576 UE4Editor-Kismet.dll!TBaseSPMethodDelegateInstance<0,FBlueprintEditor,0,void __cdecl(void),FDefaultDelegateUserPolicy>::ExecuteIfSafe() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:307]
[Callstack] 0x00007ff9ce5833b9 UE4Editor-Slate.dll!FUICommandList::ConditionalProcessCommandBindings() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Slate\Private\Framework\Commands\UICommandList.cpp:220]
[Callstack] 0x00007ff9ce5bc65a UE4Editor-Slate.dll!FUICommandList::ProcessCommandBindings() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Slate\Private\Framework\Commands\UICommandList.cpp:164]
[Callstack] 0x00007ff9c189fa48 UE4Editor-GraphEditor.dll!SGraphEditorImpl::OnKeyDown() [D:\Build\++UE4\Sync\Engine\Source\Editor\GraphEditor\Private\SGraphEditorImpl.cpp:123]
[Callstack] 0x00007ff9ce5525b2 UE4Editor-Slate.dll!FEventRouter::Route<FReply,FEventRouter::FBubblePolicy,FKeyEvent,<lambda_f630e7f24dbef73857a69219e32f2d96> >() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:383]
[Callstack] 0x00007ff9ce5be399 UE4Editor-Slate.dll!FSlateApplication::ProcessKeyDownEvent() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:4325]
[Callstack] 0x00007ff9ce5b2236 UE4Editor-Slate.dll!FSlateApplication::OnKeyDown() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:4222]
[Callstack] 0x00007ffa146eb948 UE4Editor-ApplicationCore.dll!FWindowsApplication::ProcessDeferredMessage() [D:\Build\++UE4\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:2009]
[Callstack] 0x00007ffa146d9197 UE4Editor-ApplicationCore.dll!FWindowsApplication::DeferMessage() [D:\Build\++UE4\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:2638]
[Callstack] 0x00007ffa146ee379 UE4Editor-ApplicationCore.dll!FWindowsApplication::ProcessMessage() [D:\Build\++UE4\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:1042]
[Callstack] 0x00007ffa146d4310 UE4Editor-ApplicationCore.dll!FWindowsApplication::AppWndProc() [D:\Build\++UE4\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:874]
[Callstack] 0x00007ffa3d665c1d USER32.dll!UnknownFunction []
[Callstack] 0x00007ffa3d665612 USER32.dll!UnknownFunction []
[Callstack] 0x00007ffa146ef904 UE4Editor-ApplicationCore.dll!FWindowsPlatformApplicationMisc::PumpMessages() [D:\Build\++UE4\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsPlatformApplicationMisc.cpp:130]
[Callstack] 0x00007ff7909c8857 UE4Editor.exe!FEngineLoop::Tick() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:4748]
[Callstack] 0x00007ff7909e11ac UE4Editor.exe!GuardedMain() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Launch\Private\Launch.cpp:169]
[Callstack] 0x00007ff7909e128a UE4Editor.exe!GuardedMainWrapper() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:137]
[Callstack] 0x00007ff7909f52ed UE4Editor.exe!WinMain() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:268]
[Callstack] 0x00007ff7909f801a UE4Editor.exe!__scrt_common_main_seh() [d:\agent\_work\5\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
[Callstack] 0x00007ffa3d017c24 KERNEL32.DLL!UnknownFunction []
[Callstack] 0x00007ffa3d9ed721 ntdll.dll!UnknownFunction []


Have Comments or More Details?

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

1
Login to Vote

Fixed
ComponentGameplay - Blueprint
Affects Versions4.26
Target Fix4.27
Fix Commit15948942
CreatedMar 31, 2021
ResolvedApr 8, 2021
UpdatedApr 9, 2021