Unreal Project lags on High-End machine

Hello there,

My Unreal Project is lagging as hell on a high end machine (Ryzen 24 Core CPU, 32 GB RAM, M2 SSD, GTX 1070).
I am just working in Widgets and in a empty level (which just loads widgets). I have to say, there’s a huge amount of widgets placed in another widget. What could cause the lags? I tested it also on another machine (Intel 16 Core CPU, 16 GB RAM, SSD, GTX 1060) with the SAME lagging results.

When it comes to the lags on my main machine, there’s just 13% of CPU used, 20-30% of RAM, very less GPU (and there’s over 500GB Free Disk space available on the M2).
What could cause the lags?

Please help!

Doesn’t sound like a system bottle neck, more like a UE ‘feature’ when loading widgets.

Are you doing a lot of loading / unloading? I’m wondering if there’s a slightly sub-optimal part of the widget systems that only becomes apparent with a large number of widgets.

Have you tried pooling? ( Bite the bullet, make them all but then just hide / unhide ).

I often see people do this (because it’s even in the official tutorials) when updating text, for example:

While this is OK-ish for a couple of widgets, it is definitely not OK in the above-mentioned structure. Often enough it’s not about the sheer numbers but what the objects are tasked with. Tick + Cast add up quickly, for example.

Are those widgets ticking or updating via complex functions?


If you must display huge numbers of widgets in lists, consider looking into tile view / list view - these are very efficient and handling hundreds of elements.

Hey, thanks for the hint. I’m aware about this and I’m not using any sort of bindings in my structure, but updating everything manually. I’m also making sure that things like “Set Visibility” is only set once per state and not updating constantly.

Ok here’s a kind of structure of how the widgets are getting constructed, it’s not exactly like this, but sort of. There’s a lot of stuff going through pre-construct, but it’s just constructing common things, like setting an image, image color etc.

The 5 widgets on the right (with 2 child widgets each) are the same widget, but 5 times placed in the other widget.