For each loop the option does not appear in blueprint

Create an actor blueprint compile and save the go to the user widget and it appears again, for me worked :smiley:

1 Like

I created jzst a foreach loop in the GameInstance and copy&pasted it into the buggy Blueprintā€¦ worked lile a charmā€¦ since that, i can add foreach via Context Browser againā€¦

2 Likes

I had the same problem while watching this tutorial https://www.youtube.com/watch?v=7-cHcyd3ZpQ&list=PLBLmKCAjA25CKFIvmaA8y3tsX_URgkX4O&index=7 The owner of the tutorial wrote that if you copy and paste the code I gave in the comments, it may solve your problem. And this worked for me maybe it will solve your problem too.

1 Like

hello, for my part only games with the starter content pack when the project is created have native access to the foreach loop

you must therefore create a new project with the starter pack included, then create a blooprint, then in levengraph put the foreachloop, then either transfer the folder containing the blooprint in the content of your project / or open the 2 projects and copy paste of the different foreach

Sorry for mā€™y engl im bad :sweat_smile:

By the way,blueprint GameInstance isā€™t necessary,same thing happened in a blupprint gamemode class!!!

It works!!! thanks for your help!!!