# Game Crashs when I "AddWidget" in the PlayerUI

**URL:** <https://forums.unrealengine.com/t/game-crashs-when-i-addwidget-in-the-playerui/2728982>\
**Category:** Issues and Bug Reporting\
**Tags:** unreal-editor-for-fortnite, fortnite-creative, crash, closed, bug-report, editor, fortnite\
**Created:** [June 16, 2026, 12:53pm UTC](https://forums.unrealengine.com/t/game-crashs-when-i-addwidget-in-the-playerui/2728982 "2026-06-16T12:53:26Z")\
**Posts on this page:** 4\
**Page:** 1

<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:** [June 16, 2026, 12:53pm UTC](https://forums.unrealengine.com/t/game-crashs-when-i-addwidget-in-the-playerui/2728982/1 "2026-06-16T12:53:27Z")

</div>

### Summary

The Fortnite client crashes instantly when a WidgetBlueprint is added to a  
player’s PlayerUI via AddWidget in Verse. The crash occurs on widget  
realization (client side), not in the Verse call itself. It reproduces in a  
live edit session and in private playtest.

### Please select what you are reporting on:

Unreal Editor for Fortnite

### What Type of Bug are you experiencing?

UI/Tools

### Steps to Reproduce

1. Have a Verse device that, on a button interaction, calls an Open() function.
2. Open() calls:  
PlayerUI.AddWidget(Inv, player\_ui\_slot{ InputMode := ui\_input\_mode.All })  
PlayerUI.SetFocus(Inv)  
where Inv is a WidgetBlueprint asset.
3. Launch the session, interact with the button.

### Expected Result

The widget is displayed on the player’s screen.

### Observed Result

The Fortnite client crashes immediately and the player is disconnected.  
Server-side Verse continues running: the logs show all prints completing  
(about to AddWidget → Open done → RefreshUI done) followed by the player  
leaving and the beacon connection closing. This indicates the crash is  
client-side, on widget realization, with no server-side Verse error.

Open() : void =  
Print(“INV: Open begin”)  
if (not Bound?):  
BindEvents()  
set Bound = true

# Populate the widget BEFORE attaching it (matches wbps\_manager / custom\_player\_ui

# order), so a remote player never sees a half-filled widget written across frames.

```auto
    if (not Added?, PlayerUI := GetPlayerUI[Owner]):
        Print("INV: about to AddWidget")
        PlayerUI.AddWidget(Inv, player_ui_slot{ InputMode := ui_input_mode.All })
        PlayerUI.SetFocus(Inv)
        set Added = true
    Print("INV: Open done")

    
    SyncHotbarFromNative()
    RefreshUI()

```

### Platform(s)

PC, PS5

### Island Code

3337-3051-9938

### Upload an image

 ![image.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/e/0/0e07cc2b0ee4682aca47a55f3040b2498a0b6b3f.png)

### Video

[https://youtu.be/yYWiFy-Ba0s](https://youtu.be/jdLQwqUW4og)

---

<div class="post-metadata">

**Author:** ![GraemeBB](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/graemebb/32/1106150_2.png) [@GraemeBB](https://forums.unrealengine.com/u/GraemeBB)\
**Post date:** [June 16, 2026, 7:33pm UTC](https://forums.unrealengine.com/t/game-crashs-when-i-addwidget-in-the-playerui/2728982/3 "2026-06-16T19:33:48Z")

</div>

remove the setfocus call and see what happens. You don’t need it anyways.

---

<div class="post-metadata">

**Author:** ![GraemeBB](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/graemebb/32/1106150_2.png) [@GraemeBB](https://forums.unrealengine.com/u/GraemeBB)\
**Post date:** [June 16, 2026, 7:35pm UTC](https://forums.unrealengine.com/t/game-crashs-when-i-addwidget-in-the-playerui/2728982/4 "2026-06-16T19:35:04Z")

</div>

Also, it’s something in your widget so you’ll have to provide details about that. I’m using this hundreds of times a day during testing and no crashing at all (we do crash for other stuff…, but not this)

---

<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:** [July 13, 2026, 9:00pm UTC](https://forums.unrealengine.com/t/game-crashs-when-i-addwidget-in-the-playerui/2728982/7 "2026-07-13T21:00:32Z")

</div>

FORT-1118504 has been ‘Closed’. We’re unable to reproduce this issue.
