Description

When deleting a Blendspace or Blendspace 1D node in a state graph, after opening it, the editor crashes. It doesn't crash when deleting it before opening the Blendspace node. It also doesn't matter whether the Blendspace node is connected to any other nodes.

Steps to Reproduce
  1. Create ThirdPerson Template Project
  2. Open the ThirdPerson_AnimBP
  3. Open the Idle/Run state
  4. Add a Blendspace 1D Node to the graph
  5. Double click the Blendspace 1D node to open it
  6. Return to the Idle/Run state graph
  7. Delete the Blendspace 1D node

RESULT:

The editor crashes

EXPECTED:

The user would be able to delete the Blendspace 1D node without crashing

Callstack
Fatal error: [File:D:/build/++UE5/Sync/Engine/Source/Runtime/CoreUObject/Private/Templates/Casts.cpp] [Line: 10] Cast of Package /Game/Mannequin/Animations/ThirdPerson_AnimBP to AnimGraphNode_BlendSpaceGraphBase failed

UnrealEditor-CoreUObject!CastLogError(wchar_t const *,wchar_t const *) [Casts.cpp:11]
UnrealEditor-Persona!CastChecked<UAnimGraphNode_BlendSpaceGraphBase,UObject>(UObject *) [Casts.h:262]
UnrealEditor-Persona!FBlendSpaceDetails::CustomizeDetails(IDetailLayoutBuilder &) [BlendSpaceDetails.cpp:59]
UnrealEditor-PropertyEditor!DetailLayoutHelpers::QueryCustomDetailLayout(FDetailLayoutData &,TMap<TWeakObjectPtr<UStruct,FWeakObjectPtr>,FDetailLayoutCallback,FDefaultSetAllocator,TDefaultMapHashableKeyFuncs<TWeakObjectPtr<UStruct,FWeakObjectPtr>,FDetailLayoutCallback,0> > const &,TDelegate<TSharedRef<IDetailCustomization,0> ,FDefaultDelegateUserPolicy> const &) [DetailLayoutHelpers.cpp:381]
UnrealEditor-PropertyEditor!SDetailsViewBase::UpdateSinglePropertyMap(TSharedPtr<FComplexPropertyNode,0>,FDetailLayoutData &,bool) [SDetailsViewBase.cpp:413]
UnrealEditor-PropertyEditor!SDetailsViewBase::UpdatePropertyMaps() [SDetailsViewBase.cpp:372]
UnrealEditor-PropertyEditor!SDetailsView::PostSetObject(TArray<FDetailsViewObjectRoot,TSizedDefaultAllocator<32> > const &) [SDetailsView.cpp:925]
UnrealEditor-PropertyEditor!SDetailsView::SetObjectArrayPrivate(TArray<UObject *,TSizedDefaultAllocator<32> > const &) [SDetailsView.cpp:669]
UnrealEditor-PropertyEditor!SDetailsView::SetObjects(TArray<UObject *,TSizedDefaultAllocator<32> > const &,bool,bool) [SDetailsView.cpp:443]
UnrealEditor-Kismet!SKismetInspector::MakeContextualEditingWidget(FKismetSelectionInfo &,SKismetInspector::FShowDetailsOptions const &) [SKismetInspector.cpp:168]
UnrealEditor-Kismet!SKismetInspector::UpdateFromObjects(TArray<UObject *,TSizedDefaultAllocator<32> > const &,FKismetSelectionInfo &,SKismetInspector::FShowDetailsOptions const &) [SKismetInspector.cpp:737]
UnrealEditor-Kismet!SKismetInspector::Tick(FGeometry const &,double,float) [SKismetInspector.cpp:126]
UnrealEditor-SlateCore!SWidget::Paint(FPaintArgs const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SWidget.cpp:1377]
UnrealEditor-SlateCore!SCompoundWidget::OnPaint(FPaintArgs const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SCompoundWidget.cpp:37]
UnrealEditor-Slate!SBorder::OnPaint(FPaintArgs const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SBorder.cpp:120]
UnrealEditor-SlateCore!SWidget::Paint(FPaintArgs const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SWidget.cpp:1482]
UnrealEditor-SlateCore!SOverlay::OnPaint(FPaintArgs const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SOverlay.cpp:95]
UnrealEditor-SlateCore!SWidget::Paint(FPaintArgs const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SWidget.cpp:1482]
UnrealEditor-SlateCore!SPanel::PaintArrangedChildren(FPaintArgs const &,FArrangedChildren const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SPanel.cpp:31]
UnrealEditor-SlateCore!SPanel::OnPaint(FPaintArgs const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SPanel.cpp:12]
UnrealEditor-SlateCore!SWidget::Paint(FPaintArgs const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SWidget.cpp:1482]
UnrealEditor-SlateCore!SCompoundWidget::OnPaint(FPaintArgs const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SCompoundWidget.cpp:37]
UnrealEditor-SlateCore!SWidget::Paint(FPaintArgs const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SWidget.cpp:1482]
UnrealEditor-SlateCore!SPanel::PaintArrangedChildren(FPaintArgs const &,FArrangedChildren const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SPanel.cpp:31]
UnrealEditor-Slate!SSplitter::OnPaint(FPaintArgs const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SSplitter.cpp:229]
UnrealEditor-SlateCore!SWidget::Paint(FPaintArgs const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SWidget.cpp:1482]
UnrealEditor-SlateCore!SCompoundWidget::OnPaint(FPaintArgs const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SCompoundWidget.cpp:37]
UnrealEditor-SlateCore!SWidget::Paint(FPaintArgs const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SWidget.cpp:1482]
UnrealEditor-SlateCore!SPanel::PaintArrangedChildren(FPaintArgs const &,FArrangedChildren const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SPanel.cpp:31]
UnrealEditor-Slate!SSplitter::OnPaint(FPaintArgs const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SSplitter.cpp:229]
UnrealEditor-SlateCore!SWidget::Paint(FPaintArgs const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SWidget.cpp:1482]
UnrealEditor-SlateCore!SPanel::PaintArrangedChildren(FPaintArgs const &,FArrangedChildren const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SPanel.cpp:31]
UnrealEditor-SlateCore!SPanel::OnPaint(FPaintArgs const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SPanel.cpp:12]
UnrealEditor-SlateCore!SWidget::Paint(FPaintArgs const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SWidget.cpp:1482]
UnrealEditor-SlateCore!SOverlay::OnPaint(FPaintArgs const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SOverlay.cpp:95]
UnrealEditor-SlateCore!SWidget::Paint(FPaintArgs const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SWidget.cpp:1482]
UnrealEditor-SlateCore!SCompoundWidget::OnPaint(FPaintArgs const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SCompoundWidget.cpp:37]
UnrealEditor-SlateCore!SWidget::Paint(FPaintArgs const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SWidget.cpp:1482]
UnrealEditor-SlateCore!SPanel::PaintArrangedChildren(FPaintArgs const &,FArrangedChildren const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SPanel.cpp:31]
UnrealEditor-SlateCore!SPanel::OnPaint(FPaintArgs const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SPanel.cpp:12]
UnrealEditor-SlateCore!SWidget::Paint(FPaintArgs const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SWidget.cpp:1482]
UnrealEditor-SlateCore!SCompoundWidget::OnPaint(FPaintArgs const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SCompoundWidget.cpp:37]
UnrealEditor-SlateCore!SWidget::Paint(FPaintArgs const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SWidget.cpp:1482]
UnrealEditor-SlateCore!SCompoundWidget::OnPaint(FPaintArgs const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SCompoundWidget.cpp:37]
UnrealEditor-Slate!SBorder::OnPaint(FPaintArgs const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SBorder.cpp:120]
UnrealEditor-SlateCore!SWidget::Paint(FPaintArgs const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SWidget.cpp:1482]
UnrealEditor-SlateCore!SOverlay::OnPaint(FPaintArgs const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SOverlay.cpp:95]
UnrealEditor-SlateCore!SWidget::Paint(FPaintArgs const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SWidget.cpp:1482]
UnrealEditor-SlateCore!SPanel::PaintArrangedChildren(FPaintArgs const &,FArrangedChildren const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SPanel.cpp:31]
UnrealEditor-SlateCore!SPanel::OnPaint(FPaintArgs const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SPanel.cpp:12]
UnrealEditor-SlateCore!SWidget::Paint(FPaintArgs const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SWidget.cpp:1482]
UnrealEditor-SlateCore!SCompoundWidget::OnPaint(FPaintArgs const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SCompoundWidget.cpp:37]
UnrealEditor-SlateCore!SWidget::Paint(FPaintArgs const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SWidget.cpp:1482]
UnrealEditor-SlateCore!SPanel::PaintArrangedChildren(FPaintArgs const &,FArrangedChildren const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SPanel.cpp:31]
UnrealEditor-Slate!SSplitter::OnPaint(FPaintArgs const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SSplitter.cpp:229]
UnrealEditor-SlateCore!SWidget::Paint(FPaintArgs const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SWidget.cpp:1482]
UnrealEditor-SlateCore!SPanel::PaintArrangedChildren(FPaintArgs const &,FArrangedChildren const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SPanel.cpp:31]
UnrealEditor-SlateCore!SPanel::OnPaint(FPaintArgs const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SPanel.cpp:12]
UnrealEditor-SlateCore!SWidget::Paint(FPaintArgs const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SWidget.cpp:1482]
UnrealEditor-SlateCore!SOverlay::OnPaint(FPaintArgs const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SOverlay.cpp:95]
UnrealEditor-SlateCore!SWidget::Paint(FPaintArgs const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SWidget.cpp:1482]
UnrealEditor-SlateCore!SCompoundWidget::OnPaint(FPaintArgs const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SCompoundWidget.cpp:37]
UnrealEditor-SlateCore!SWidget::Paint(FPaintArgs const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SWidget.cpp:1482]
UnrealEditor-SlateCore!SPanel::PaintArrangedChildren(FPaintArgs const &,FArrangedChildren const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SPanel.cpp:31]
UnrealEditor-SlateCore!SPanel::OnPaint(FPaintArgs const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SPanel.cpp:12]
UnrealEditor-SlateCore!SWidget::Paint(FPaintArgs const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SWidget.cpp:1482]
UnrealEditor-SlateCore!SPanel::PaintArrangedChildren(FPaintArgs const &,FArrangedChildren const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SPanel.cpp:31]
UnrealEditor-SlateCore!SPanel::OnPaint(FPaintArgs const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SPanel.cpp:12]
UnrealEditor-SlateCore!SWidget::Paint(FPaintArgs const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SWidget.cpp:1482]
UnrealEditor-SlateCore!SOverlay::OnPaint(FPaintArgs const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SOverlay.cpp:95]
UnrealEditor-SlateCore!SWidget::Paint(FPaintArgs const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SWidget.cpp:1482]
UnrealEditor-SlateCore!SCompoundWidget::OnPaint(FPaintArgs const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SCompoundWidget.cpp:37]
UnrealEditor-SlateCore!SWidget::Paint(FPaintArgs const &,FGeometry const &,FSlateRect const &,FSlateWindowElementList &,int,FWidgetStyle const &,bool) [SWidget.cpp:1482]
UnrealEditor-SlateCore!SWindow::PaintSlowPath(FSlateInvalidationContext const &) [SWindow.cpp:2064]
UnrealEditor-SlateCore!FSlateInvalidationRoot::PaintInvalidationRoot(FSlateInvalidationContext const &) [SlateInvalidationRoot.cpp:286]
UnrealEditor-SlateCore!SWindow::PaintWindow(double,float,FSlateWindowElementList &,FWidgetStyle const &,bool) [SWindow.cpp:2096]
UnrealEditor-Slate!FSlateApplication::DrawWindowAndChildren(TSharedRef<SWindow,0> const &,FDrawWindowArgs &) [SlateApplication.cpp:1067]
UnrealEditor-Slate!FSlateApplication::PrivateDrawWindows(TSharedPtr<SWindow,0>) [SlateApplication.cpp:1291]
UnrealEditor-Slate!FSlateApplication::DrawWindows() [SlateApplication.cpp:1028]
UnrealEditor-Slate!FSlateApplication::TickAndDrawWidgets(float) [SlateApplication.cpp:1581]
UnrealEditor-Slate!FSlateApplication::Tick(ESlateTickType) [SlateApplication.cpp:1435]
UnrealEditor!7ff7bfe70000  + a1b5
UnrealEditor!7ff7bfe70000  + 20b2c
UnrealEditor!7ff7bfe70000  + 20c0a
UnrealEditor!7ff7bfe70000  + 3573d
UnrealEditor!7ff7bfe70000  + 386ba
KERNEL32!7ffd8d700000  + 17c24
ntdll!7ffd8ec40000  + 6d721

Have Comments or More Details?

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

2
Login to Vote

Fixed
Fix Commit16329160
CreatedAug 10, 2021
ResolvedAug 31, 2021
UpdatedNov 30, 2021
View Jira Issue