[r193] Debugger, selected object shows different type

Discussion and feedback on Construct 2

Post » Sat Jan 10, 2015 12:50 am

edit: see next post for simpler view

Sorry to do this in pictures, but I can't post a capx. Problem is this:

I have a Family, Wanderers, with one object type in it, 'sprNpc' (I removed others for simplicity)
I have 2 sprNpc instances placed in a layout at design time, one of them shown in pic with UID 676.
In-game, I noticed it wasn't responding to events (e.g. to wander around)
Went to the debugger, selected it via the Wanderers Family, and it shows as another object entirely, 'sprLock'!
(sprLock isn't even in the Wanderers Family, as shown in the pic).
That's about it, except to note that sprLock is part of a container with another object, and not placed in the layout.

Notice sprLock has UID 676 at runtime, the same UID that the sprNpc has at design time.

Can this possibly be something I'm doing, or is C2 getting objects confused?

Thanks!

edit: doesn't even need to be in a Family, have updated title
You do not have the required permissions to view the files attached to this post.
Last edited by codah on Sat Jan 10, 2015 1:21 am, edited 1 time in total.
B
24
S
9
G
4
Posts: 1,646
Reputation: 6,596

Post » Sat Jan 10, 2015 1:11 am

With the informations given, that sounds like some kind of bug.
UID is supposed to be unique for each instance on purpose.

@Ashley is this something you might want to investigate or would have an explanation for ?
If he doesn't see this notice you could possible post a bug report and provide the capx at least to Ash.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
294
S
117
G
96
Posts: 7,311
Reputation: 71,086

Post » Sat Jan 10, 2015 1:14 am

New post to show simpler view. sprNpc #0 is selected (trust me) and shows sprLock instead.
debugger_issue.png


@Kyatric thanks, I could see if that's possible as it doesn't seem easily reproduceable in a separate capx.
You do not have the required permissions to view the files attached to this post.
B
24
S
9
G
4
Posts: 1,646
Reputation: 6,596


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 9 guests