Description

Crash when setting a named slot widget's name to be the same as another named slot widget

Steps to Reproduce
  1. Open the editor
  2. Create a a new widget blueprint
  3. Name it "ParentWidget"
  4. Inside ParentWidget, add a named slot to the designer tab
  5. Name it "Content Slot"
  6. Create another widget blueprint
  7. Name it "ChildWidget"
  8. Inside ChildWidget, add an instance of ParentWidget (via the user created section)
  9. Inside the Content Slot of ParentWidget, add a new Named Slot
  10. Rename the new named slot to "Content Slot" (the same as its containing slot)
  11. Notice that the editor crashes

Expected: The user would be given an error preventing the name from being used
Result: The editor crashes

Callstack
UE4Editor_UMG!UNamedSlot::OnSlotRemoved() namedslot.cpp:92 
UE4Editor_UMG!UPanelWidget::ClearChildren() panelwidget.cpp:225 
UE4Editor_UMG!<lambda_fb1594f3c50b59a8f4d88d0decec41b2>::operator() userwidget.cpp:107 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:107 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:101 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:101 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:101 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:101 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:101 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:101 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:101 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:101 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:101 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:101 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:101 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:101 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:101 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:101 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:101 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:101 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:101 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:101 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:101 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:101 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:101 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:101 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:101 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:101 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:101 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:101 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:101 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:101 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:101 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:101 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:101 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:101 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:101 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:101 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:101 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:101 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:101 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:101 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:101 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:101 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:101 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:101 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:101 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:101 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:101 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:101 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:101 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:101 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:101 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:101 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:101 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:101 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:101 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:101 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:101 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:101 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:101 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:101 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:101 
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren<<lambda_fb1594f3c50b59a8f4d88d0decec41b2> >() widgettree.h:101 

Have Comments or More Details?

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

3
Login to Vote

Cannot Reproduce
ComponentUE - Editor - UI Systems
Affects Versions4.15.2
CreatedMay 16, 2017
ResolvedJul 6, 2017
UpdatedJun 23, 2018
View Jira Issue