Description

Crash when placing a widget into a nested name slot of another name slot. This occurs if this widget is then added to another widget and both the parent name slot and the child name slot receive children.

Steps to Reproduce
  1. Open Editor
  2. Create a new widget blueprint
  3. Name it "NamedSlots"
  4. Add a Named Slot widget to the designer tab
  5. Name it "Parent Slot"
  6. Add another named slot as a child of the first
  7. Name it "ChildSlot"
  8. Save and Compile
  9. Create another widget blueprint
  10. Add "NamedSlots" widget to the designer tab via the user created section
  11. Expand the "NamedSlots" widget
  12. Place a border into "ParentSlot"
  13. Place a border into "ChildSlot"
  14. Notice that the Editor crashes

Expected: The child would accept the new widget or provide an error saying that it cannot
Result: The Editor Crashes

Callstack
UE4Editor_UMG!UWidget::BuildNavigation() widget.cpp:843 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_c1724c53ca7b8d866d639aff57b37443> >() widgettree.h:83 
UE4Editor_UMG!UUserWidget::OnWidgetRebuilt() userwidget.cpp:456 
UE4Editor_UMG!UWidget::TakeWidget_Private() widget.cpp:538 
UE4Editor_UMG!UWidget::TakeWidget() widget.cpp:489 
UE4Editor_UMGEditor!SDesignerView::UpdatePreviewWidget() sdesignerview.cpp:1672 
UE4Editor_UMGEditor!SDesignerView::Tick() sdesignerview.cpp:1738 
UE4Editor_SlateCore!SWidget::Paint() swidget.cpp:657 
UE4Editor_SlateCore!SPanel::PaintArrangedChildren() spanel.cpp:44 
UE4Editor_SlateCore!SPanel::OnPaint() spanel.cpp:19 
UE4Editor_SlateCore!SWidget::Paint() swidget.cpp:660 
UE4Editor_Slate!SScissorRectBox::OnPaint() sscissorrectbox.cpp:67 
UE4Editor_SlateCore!SWidget::Paint() swidget.cpp:660 
UE4Editor_SlateCore!SCompoundWidget::OnPaint() scompoundwidget.cpp:25 
UE4Editor_Slate!SBorder::OnPaint() sborder.cpp:90 
UE4Editor_SlateCore!SWidget::Paint() swidget.cpp:660 
UE4Editor_SlateCore!SOverlay::OnPaint() soverlay.cpp:100 
UE4Editor_SlateCore!SWidget::Paint() swidget.cpp:660 
UE4Editor_SlateCore!SPanel::PaintArrangedChildren() spanel.cpp:44 
UE4Editor_SlateCore!SPanel::OnPaint() spanel.cpp:19 
UE4Editor_SlateCore!SWidget::Paint() swidget.cpp:660 
UE4Editor_SlateCore!SCompoundWidget::OnPaint() scompoundwidget.cpp:25 
UE4Editor_SlateCore!SWidget::Paint() swidget.cpp:660 
UE4Editor_SlateCore!SPanel::PaintArrangedChildren() spanel.cpp:44 
UE4Editor_Slate!SSplitter::OnPaint() ssplitter.cpp:166 
UE4Editor_SlateCore!SWidget::Paint() swidget.cpp:660 
UE4Editor_SlateCore!SCompoundWidget::OnPaint() scompoundwidget.cpp:25 
UE4Editor_SlateCore!SWidget::Paint() swidget.cpp:660 
UE4Editor_SlateCore!SPanel::PaintArrangedChildren() spanel.cpp:44 
UE4Editor_Slate!SSplitter::OnPaint() ssplitter.cpp:166 
UE4Editor_SlateCore!SWidget::Paint() swidget.cpp:660 
UE4Editor_SlateCore!SOverlay::OnPaint() soverlay.cpp:100 
UE4Editor_SlateCore!SWidget::Paint() swidget.cpp:660 
UE4Editor_SlateCore!SCompoundWidget::OnPaint() scompoundwidget.cpp:25 
UE4Editor_SlateCore!SWidget::Paint() swidget.cpp:660 
UE4Editor_SlateCore!SPanel::PaintArrangedChildren() spanel.cpp:44 
UE4Editor_SlateCore!SPanel::OnPaint() spanel.cpp:19 
UE4Editor_SlateCore!SWidget::Paint() swidget.cpp:660 
UE4Editor_SlateCore!SCompoundWidget::OnPaint() scompoundwidget.cpp:25 
UE4Editor_SlateCore!SWidget::Paint() swidget.cpp:660 
UE4Editor_SlateCore!SCompoundWidget::OnPaint() scompoundwidget.cpp:25 
UE4Editor_Slate!SBorder::OnPaint() sborder.cpp:90 
UE4Editor_SlateCore!SWidget::Paint() swidget.cpp:660 
UE4Editor_SlateCore!SOverlay::OnPaint() soverlay.cpp:100 
UE4Editor_SlateCore!SWidget::Paint() swidget.cpp:660 
UE4Editor_SlateCore!SPanel::PaintArrangedChildren() spanel.cpp:44 
UE4Editor_SlateCore!SPanel::OnPaint() spanel.cpp:19 
UE4Editor_SlateCore!SWidget::Paint() swidget.cpp:660 
UE4Editor_SlateCore!SCompoundWidget::OnPaint() scompoundwidget.cpp:25 
UE4Editor_SlateCore!SWidget::Paint() swidget.cpp:660 
UE4Editor_SlateCore!SPanel::PaintArrangedChildren() spanel.cpp:44 
UE4Editor_Slate!SSplitter::OnPaint() ssplitter.cpp:166 
UE4Editor_SlateCore!SWidget::Paint() swidget.cpp:660 
UE4Editor_SlateCore!SOverlay::OnPaint() soverlay.cpp:100 
UE4Editor_SlateCore!SWidget::Paint() swidget.cpp:660 
UE4Editor_SlateCore!SCompoundWidget::OnPaint() scompoundwidget.cpp:25 
UE4Editor_SlateCore!SWidget::Paint() swidget.cpp:660 
UE4Editor_SlateCore!SPanel::PaintArrangedChildren() spanel.cpp:44 
UE4Editor_SlateCore!SPanel::OnPaint() spanel.cpp:19 
UE4Editor_SlateCore!SWidget::Paint() swidget.cpp:660 
UE4Editor_SlateCore!SPanel::PaintArrangedChildren() spanel.cpp:44 
UE4Editor_SlateCore!SPanel::OnPaint() spanel.cpp:19 
UE4Editor_SlateCore!SWidget::Paint() swidget.cpp:660 
UE4Editor_SlateCore!SOverlay::OnPaint() soverlay.cpp:100 

Community References

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

1
Login to Vote

Won't Fix
ComponentUE - Editor - UI Systems
Affects Versions4.12.5
CreatedJul 28, 2016
ResolvedAug 18, 2021
UpdatedAug 18, 2021