Summary
If a widget has a second inheritance level, duplicating a widget element with Ctrl+D inside a NamedSlot (with an Overlay element added to have a potential slot), will crash the engine.
Steps to Reproduce
() is the parent class is adding something in the Designer >> Hierachy tab (outliner)
create BaseWidget (UserWidget) [add NamedSlot named “N0”]
create Child1 (BaseWidget) [add NamedSlot to N0 named “N1”]
create Child2 (Child1) [add an Overlay to N1]
[add a Button to the Overlay]
Try duplicating the Button by pressing Ctrl + D
results
The editor crashes
expected
The Button gets duplicated
Comments
I suspect this is a problem with the way inheritance is implemented on widgets in general, so I will link my other bug reports with a similar issues here: