Different UID for preview and export

Bugs will be moved here once resolved.

Post » Sat Sep 03, 2011 12:11 am

Not sure if it's a bug, because I don't know exactly how C2 sets UID for sprites - but it looks like one.
Have two same sprite instances, text object set to show UID and mouse object.

In layout preview it shows my UIDs as 5 and 6 of that sprite but after exporting my project it shows as 10 and 11.
ImageImageImageImage
B
154
S
61
G
40
Posts: 2,574
Reputation: 33,783

Post » Sat Sep 03, 2011 12:35 am

I'll look in to this, but generally you shouldn't rely on any particular value for UIDs anyway. If you add another instance to the layout, for example, all the UIDs could change. So I don't think it's a major problem.
Scirra Founder
B
373
S
218
G
84
Posts: 23,440
Reputation: 186,070

Post » Sat Sep 03, 2011 12:40 am

Oh I see. Thanks for that info.
ImageImageImageImage
B
154
S
61
G
40
Posts: 2,574
Reputation: 33,783


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 0 guests