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
140
S
58
G
36
Posts: 2,547
Reputation: 31,170

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
359
S
214
G
72
Posts: 22,952
Reputation: 178,630

Post » Sat Sep 03, 2011 12:40 am

Oh I see. Thanks for that info.
ImageImageImageImage
B
140
S
58
G
36
Posts: 2,547
Reputation: 31,170


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 2 guests