Object somehow destroying clones of other object

I have an object with this code:


When the user variables is not equal to true, this object will destroy itself. For some reason, this also seems to affect a completely different object with this code:

This code should only ever make 5 invisible clones, but for some reason it is always making clones. You can tell because it seems to stay visible, and this is fixed when you remove the clone creation code.

Copying and pasting it lower in the object list, then moving the copy results in the copy having this problem, but the first one being fixed. This is really confusing and broken.

10 Likes

Total clones is the same for self and original object

5 Likes

I cannot seem to find the cause for this bug. I think it might be a bug in the player rather than in your code…

3 Likes

That’s the point. It’s in the #hopscotch-bugs:bugs-in-player category

5 Likes

Yeah, I just noticed that…

3 Likes

I don’t know I understand this properly but in the project it says


But when I chang the code so I can see the clones
It looks like this

4 Likes

When I first played the project, the “this shouldn’t be here” was appearing and staying, but after I went into the code to understand it better, and replayed it, the “this shouldn’t be here” now flashes initially and then disappears. Bug fixed :slight_smile: actually not but no I can’t reproduce it.

6 Likes