The type of Target Array is undetermined

I’m following this tutorial - A new, community-hosted Unreal Engine Wiki - Announcements - Unreal Engine Forums

Everything seems to be alright, until the very last stage where I have to create button Bindings in the Widget Editor. The compile error leads me not to my blueprint strangely enough but the ForEachLoop blueprint in Standard Macros instead (!!).

The attached image shows what I mean. I also get “The type of Item is undetermined” error in the same blueprint.

What I tried: I tried to re-do the blueprint by not copying the ForEachLoops and arrays (Roel suggested this on another answer).

I still get the same errors.

Any help would be appreciated :slight_smile:

Anyone? Or am I stuck with this bug forever?

Hi ,

Had a compile error once to took me to a macro for a loop to

The error is most likley in you coding somewhere. I resolved it, but forgot to comment, but I had something attached wrong.

Go through all the elements of everything to do with the loop again.

Post some code, sometimes second eyes help.

Pics of your loop please, that is where the error is.

You didn’t attach an image. It’s not clear what your mistake is because we can’t see your blueprints.

Here is the blueprint of one of the buttons, I believe I structured it exactly like the tutorial.

Not sure if this will solve it but no Class selected in Cast to

I filled in the class in GetAllActorsofClass - I still have the errors.

Try to create the for each loop by draggin of the Array you want to use it with.
Don’t create the for each loop alone.

http://puu.sh/hjlsp/9ac18700ac.png

Thanks eXi. I had the same issue and this fixed it for me.