UMG Widgets multiplied and sharing same reference

Hey there,

I have a simple ServerList. It’s populated by ForEach Loop on Session Results from Steam.
In Standalone, the List works perfectly:

https://puu.sh/xLd19/fe8f31024e.png

Every entry is its own Button and has the values attached.

When I package that exact build, I get the buttons too, but this time they all have the same values and they all share the same ref. They even react to the same mouse hover and mouse press.

https://puu.sh/xLd7t/9ff1a8f37b.png

I printed the SessionResult in the ForEach Loop and it prints the correct, different names.
I even printed in the ServerlistEntry Widget (the blue one) on Construct and it has the correct values.

Still, the widgets added to the ServerList in the Packaged version seem to be one big group button, made out of multiple smaller ones.

I don’t know how that can even happen :smiley:

Maybe someone knows a solution.

Hi!
I had a similar problem and I resolved it by enabling the ForceSlowConstructionPath variable in the widget’s settings.

216372-cattura.jpg

I looked at the sources and it seems a problem linked to Fast Create Widget introduced in version 4.16

I hope I’ve helped you!

Davide