The blueprint compiler now warns of nodes pins that don’t return with a blue NOTE indicator. That’s great.
I think a ForEachLoop should also warn via NOTE if there is no array connected.
After refactoring, it’s quite common that the blueprint editor will simply disconnect nodes and not say anything… and something that used to work just doesn’t. And it’s not trivial to work out why. It should be blatently obvious that a foreach has no collection connected to loop through and the blueprint editor should warn the user! To me it’s a UX issue.
You would never want a ForEachLoop with no array connected, it means that everything in the body would never trigger. it looks innocent yet it’s a pretty big problem.