Problem with UID?

Bugs will be moved here once resolved.

Post » Sun May 05, 2013 8:23 pm

Link to .capx file (required!):


Steps to reproduce:

1. Click on "delete box" => The red box will be deleted using families and pick by UID. Everything fine.

2. Now reload the project and this time click on "go to layout 2".

3. Click on "go to layout 1".

4. Click again on "delete box". This time the red box won't disappear. I'm not sure if this is a problem conserning UID, since the UID still seems to be the same.

Observed result:
Red box hasn't been destroyed after switching to layout 2 and
back to layout 1.

Expected result:
Red box should be destroyed. (Like it did in r126)

Browsers affected:
Chrome: yes
Firefox: yes
Internet Explorer: yes

Operating system & service pack:

Windows 7 64 bit

Construct 2 version:
r127, r128.2
Posts: 9
Reputation: 814

Post » Sun May 05, 2013 9:49 pm

Forgot to say that the red box has the persist behavior. :-) Thanks!
Posts: 9
Reputation: 814

Post » Mon May 06, 2013 8:39 pm

Today I found out that the box will be destroyed when I pick instance
with UID 7 (instead of 2) after switching layouts. So it seems that Construct 2 creates new UIDs after switching the layouts, even though it shows the same old UID when I make a Family.UID check and put it to a textbox.
Posts: 9
Reputation: 814

Post » Tue May 07, 2013 3:48 pm

Thanks for the report, should be fixed in the next build.
Scirra Founder
Posts: 22,840
Reputation: 176,811

Post » Tue May 07, 2013 7:18 pm

Fantastic! Thanks a lot! :-)
Posts: 9
Reputation: 814

Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 4 guests