Created a widget and needed to generate components based on an array. However, the loops are not showing up under Utility>Array. This occurs in 5.0.3 and 5.1.1 but not 4.27. Am I missing something?
I just copied the For Each loop from a blueprint actor as a work around.
I tried dragging out from an array of bools and ints to no avail. If I upgraded a project from 4.27 to 5.1.1 the loops would appear. I swapped to a different computer, installed 5.1.1, created a blank project and the same issue occurred.
After I pasted in the For Each node from a blueprint actor it now shows up fine.
If you create a blank project without starter content. Then create a Widget Blueprint and search in the Event Graph the Utilities > Array section is missing. However, if you create a Blueprint Actor; then search in the Widget’s Event Graph Utilities > Array appears.
Created blank project without starter content specifically to mess with UMG. No loop functions. Added a blank actor class BP, loops immediately showed in Widget Graph/BP.
Couldn’t figure out why other projects were fine.
Hey there. I’m sure this response is too late to be helpful for people here, but for future people stumbling on this thread and who are on UE 5.1 or earlier versions: this bug has been fixed for UE 5.2.
Upgrading your engine to 5.2 or higher should fix the issue, or you can use the github commit mentioned on the public issue to cherrypick the code fix if you build engine from source.