# World UI Widgets are not removed with .RemoveFromParent when they are sub-entities of prefabs

**URL:** <https://forums.unrealengine.com/t/world-ui-widgets-are-not-removed-with-removefromparent-when-they-are-sub-entities-of-prefabs/2764984>\
**Category:** Issues and Bug Reporting\
**Tags:** unreal-editor-for-fortnite, fortnite-creative, closed, fortnite\
**Created:** [September 12, 2026, 10:24am UTC](https://forums.unrealengine.com/t/world-ui-widgets-are-not-removed-with-removefromparent-when-they-are-sub-entities-of-prefabs/2764984 "2026-09-12T10:24:15Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![giovauefn](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/giovauefn/32/1211471_2.png) [@giovauefn](https://forums.unrealengine.com/u/giovauefn)\
**Post date:** [September 12, 2026, 10:24am UTC](https://forums.unrealengine.com/t/world-ui-widgets-are-not-removed-with-removefromparent-when-they-are-sub-entities-of-prefabs/2764984/1 "2026-09-12T10:24:16Z")

</div>

### Summary

If you instantiate an entity prefab that has a child entity that’s a Widget entity, when you call RemoveFromParent() on the prefab, the widget isn’t removed from the world. In edit session, the only way to remove it is to change session.

### Please select what you are reporting on:

Unreal Editor for Fortnite

### What Type of Bug are you experiencing?

Scene Graph

### Steps to Reproduce

Create an entity prefab, add a mesh component to it.  
Create a widget, add an image to it. Compile verse and add the corresponding entity of the widget to the prefab.  
In verse, make a simple code that instantiates the prefab, adds it to the simulation and then removes it after some time.

### Expected Result

The whole entity prefab is removed from the world.

### Observed Result

Only the mesh component is removed. The widget entity stays in the world.

### Platform(s)

windows

### Upload an image

 ![Screenshot 2026-09-12 121744.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/b/7/7b7ce71a68222db5f6d2d8bd4744a499c9a7df82.png) ![Screenshot 2026-09-12 121920.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/9/c/99c262a9c3e05e2ccd1b4bcc9752343e640c81e1.png) ![Screenshot 2026-09-12 122042.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/a/9/fa97389a97ca3a9106dee07d9f091d2373ca7d20.png)

### Additional Notes

Image 1 and 2 show the setup that doesn’t work.

Recreating the prefab in code at runtime works, and the widget is removed correctly.  
Image 3 shows the function that works.

---

<div class="post-metadata">

**Author:** ![AtAshTag](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/atashtag/32/997253_2.png) [@AtAshTag](https://forums.unrealengine.com/u/AtAshTag)\
**Post date:** [September 12, 2026, 10:26am UTC](https://forums.unrealengine.com/t/world-ui-widgets-are-not-removed-with-removefromparent-when-they-are-sub-entities-of-prefabs/2764984/2 "2026-09-12T10:26:47Z")

</div>

Noticed this too i added direct to the sim entity and it works too so its something with a premade prefab.

---

<div class="post-metadata">

**Author:** ![giovauefn](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/giovauefn/32/1211471_2.png) [@giovauefn](https://forums.unrealengine.com/u/giovauefn)\
**Post date:** [September 12, 2026, 10:38am UTC](https://forums.unrealengine.com/t/world-ui-widgets-are-not-removed-with-removefromparent-when-they-are-sub-entities-of-prefabs/2764984/3 "2026-09-12T10:38:10Z")

</div>

Yeah the issue is with prefabs. Not the first time they cause issues when instantiated. Maybe SetPresentableToPlayers can interfere as well? Did you use it?

---

<div class="post-metadata">

**Author:** ![AtAshTag](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/atashtag/32/997253_2.png) [@AtAshTag](https://forums.unrealengine.com/u/AtAshTag)\
**Post date:** [September 12, 2026, 10:39am UTC](https://forums.unrealengine.com/t/world-ui-widgets-are-not-removed-with-removefromparent-when-they-are-sub-entities-of-prefabs/2764984/4 "2026-09-12T10:39:38Z")

</div>

I didnt use this no

---

<div class="post-metadata">

**Author:** ![giovauefn](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/giovauefn/32/1211471_2.png) [@giovauefn](https://forums.unrealengine.com/u/giovauefn)\
**Post date:** [September 12, 2026, 10:48am UTC](https://forums.unrealengine.com/t/world-ui-widgets-are-not-removed-with-removefromparent-when-they-are-sub-entities-of-prefabs/2764984/5 "2026-09-12T10:48:27Z")

</div>

Ok so then it might not have to do with this bug

---

<div class="post-metadata">

**Author:** ![AlreadyUsed333](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AlreadyUsed333](https://forums.unrealengine.com/u/AlreadyUsed333)\
**Post date:** [September 14, 2026, 1:59pm UTC](https://forums.unrealengine.com/t/world-ui-widgets-are-not-removed-with-removefromparent-when-they-are-sub-entities-of-prefabs/2764984/7 "2026-09-14T13:59:54Z")

</div>

> [@giovauefn](#):
>
> stays in the

I m with the same issue, I have a prefab with the Widget Entity inside, and I spawn by verse as child of the simulation Entity, but its not removed when I call the RemoveFromParent(), the UI stays in the game.

---

<div class="post-metadata">

**Author:** ![giovauefn](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/giovauefn/32/1211471_2.png) [@giovauefn](https://forums.unrealengine.com/u/giovauefn)\
**Post date:** [September 14, 2026, 3:16pm UTC](https://forums.unrealengine.com/t/world-ui-widgets-are-not-removed-with-removefromparent-when-they-are-sub-entities-of-prefabs/2764984/8 "2026-09-14T15:16:31Z")

</div>

Yeah I worked around this by reconstructing the prefab in the code. Annoying to do but it works

---

<div class="post-metadata">

**Author:** ![Bug-Reporter](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bug-reporter/32/1223650_2.png) [@Bug-Reporter](https://forums.unrealengine.com/u/Bug-Reporter)\
**Post date:** [September 14, 2026, 11:00pm UTC](https://forums.unrealengine.com/t/world-ui-widgets-are-not-removed-with-removefromparent-when-they-are-sub-entities-of-prefabs/2764984/9 "2026-09-14T23:00:09Z")

</div>

FORT-1152311 has been ‘Closed’ as a duplicate of an existing known issue.

---

<div class="post-metadata">

**Author:** ![AtAshTag](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/atashtag/32/997253_2.png) [@AtAshTag](https://forums.unrealengine.com/u/AtAshTag)\
**Post date:** [September 15, 2026, 7:53am UTC](https://forums.unrealengine.com/t/world-ui-widgets-are-not-removed-with-removefromparent-when-they-are-sub-entities-of-prefabs/2764984/10 "2026-09-15T07:53:33Z")

</div>

Can you link the post please ?

---

<div class="post-metadata">

**Author:** ![giovauefn](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/giovauefn/32/1211471_2.png) [@giovauefn](https://forums.unrealengine.com/u/giovauefn)\
**Post date:** [September 15, 2026, 9:19am UTC](https://forums.unrealengine.com/t/world-ui-widgets-are-not-removed-with-removefromparent-when-they-are-sub-entities-of-prefabs/2764984/11 "2026-09-15T09:19:32Z")

</div>

What’s the original post?
