[AssetLog] Leak Detected! buttonoverlay (Overlay) still has living Slate widgets..

Summary

Leak error causes for full editor restart and loss of progress.

Please select what you are reporting on:

Unreal Editor for Fortnite

What Type of Bug are you experiencing?

UI/Tools

Steps to Reproduce

  1. Create a new instance of UEFN_Button_Quiet_C

  2. Set up Hierarchy as follows:
    ├── Overlay
    │‎ ‎ ‎ ‎ ‎ ‎ ├── Image
    │ ‎ ‎ ‎ ‎ ‎ ├── Image
    │‎ ‎ ‎ ‎ ‎ ‎ └── Image

  3. Right-click on Overlay → “Wrap With” → “Overlay”

  4. Compile

Expected Result

Existing overlay + it’s contents should seamless become children of a new overlay widget.

Observed Result

Compilation returns as fine, but the asset log flags an error:

[AssetLog] /glossy_stylized_daily_rewards_UI/UI/Widgets/WBP_Button_Claim : Leak Detected! Overlay_12 (Overlay) still has living Slate widgets, it or the parent InternalRootButtonBase (CommonButtonInternalBase) is keeping them in memory. Make sure all Slate resources (TSharedPtr<SWidget>'s) are being released in the UWidget's ReleaseSlateResources(). Also check the USlot's ReleaseSlateResources().

Note: This is not the exact error I had before. I forgot to copy the original one when it happened this is after I tried messing with it a couple times (i.e attempting to delete and rebuild the hierarchy, which in it of itself is completely broken from this error).

Platform(s)

PC
Windows 11 Home v25H2
AMD Ryzen 9 5950X 16-Core Processor (3.40 GHz)
NVIDIA GeForce RTX 5060 Ti (16 GB)
64.0 GB RAM

Upload an image

Additional Notes

I care a lot about UEFN and the community as a whole but over this past year it has been increasingly difficult to find the willpower and sheer indefatigability required to make even a few UIs let alone a whole project.

I understand it’s not as straightforward as just “fixing it”, but with how frequent and overtly punishing crashes/hard-locks have been combined with the constant loss of progress, it has been extremely frustrating to use UEFN.

Hopefully this report can make it’s way into the right channels, cheers.