# Renaming a Named Slot widget breaks widget trees.

**URL:** <https://forums.unrealengine.com/t/renaming-a-named-slot-widget-breaks-widget-trees/806635>\
**Category:** Issues and Bug Reporting\
**Tags:** unreal-engine, editor, Widget, Blueprint, CPP, question, UMG\
**Created:** [March 23, 2023, 6:57am UTC](https://forums.unrealengine.com/t/renaming-a-named-slot-widget-breaks-widget-trees/806635 "2023-03-23T06:57:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Roy\_Wierer.Seda145](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/roy_wierer.seda145/32/906551_2.png) [@Roy\_Wierer.Seda145](https://forums.unrealengine.com/u/Roy_Wierer.Seda145)\
**Post date:** [March 23, 2023, 6:57am UTC](https://forums.unrealengine.com/t/renaming-a-named-slot-widget-breaks-widget-trees/806635/1 "2023-03-23T06:57:16Z")

</div>

1. Create a UserWidget “MyLayout”.
2. Add named slot widgets to it to create… a layout.
3. Create another UserWidget “MyMenu”, using MyLayout as its root widget.
4. Add widgets to the slots on the “MyMenu” widget.
5. Rename a named slot on “MyLayout”.
6. Open up MyMenu and be amazed how all widgets on the slot are deleted.
