Array For each Bug

Bugs will be moved here once resolved.

Post » Wed Jan 07, 2015 7:28 pm

Problem Description
An array inadvertently gets its current loop index reset if a function is called that does a for each loop as well, causing the application to enter an endless loop.

Attach a Capx
arrayLoopBug.capx


Description of Capx
Array for each X element on start of layout (only called once). Function called within it that has another Array for each X element. Will cause endless loop.

Steps to Reproduce Bug
  • Run project

    Observed Result
    application enters endless loop

    Expected Result
    Should only loop through and then stop.

    Affected Browsers
    • Chrome: (YES)
    • FireFox: (YES)
    • Internet Explorer: (YES)

Operating System and Service Pack
win vista sp 2

Construct 2 Version ID
r193
You do not have the required permissions to view the files attached to this post.
B
43
S
19
G
65
Posts: 1,097
Reputation: 37,931

Post » Mon Jan 12, 2015 4:27 pm

Should be fixed in the next build.
Scirra Founder
B
395
S
231
G
88
Posts: 24,367
Reputation: 193,684


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 2 guests