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
47
S
22
G
65
Posts: 1,127
Reputation: 38,395

Post » Mon Jan 12, 2015 4:27 pm

Should be fixed in the next build.
Scirra Founder
B
399
S
236
G
89
Posts: 24,529
Reputation: 195,390


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 3 guests