This is an issue (that was not there a couple of days ago) and I still can't figure out what is causing this. I figured out that a level from my game was messed up and after 2 days of investigation I found the specific line where the issue occurs.
I am creating some 9 objects that belong on a certain family. Then I want to adjust some properties of those objects. The issue is that while the creation of the objects occurs, when I try to use "for each" the debuggers skips the line.
I have placed a browser alert to count the objects while they get created and after the creation ends. In the creation process the alert goes normal:
On the next line the alert shows "0" !!!!
What is even more crazy, is the fact that the objects still exist. I can see them on my game, I can see them on the debugger, but Construct cant access them...
Here is the screenshots from the code and when I use debugging
How is this even possible? This layout was working just fine. Its a part of a whole game and I had to open this layout for about a month now. A few days ago I have realized that it doesnt work anymore!
Any ideas, or suggestion?