I'm having an issue with multiple sprites having the same UID causing issues.
So I have a game I'm working on where there's a scanner, and I have sprites show up as "blips" on a scanner that the player can interact with. When the interaction is done, the blip is destroyed.
I'm having duplicate blips pop up for some reason. When I destroy the blip, it's only destroying one and leaving the other with the same UID around. In the debugger all that's there for the existing one are the "Destroy" and "Highlight" options. No stats or UIDs or anything. The player can still interact with this blip infinitely which kind of break things.
Trying to destroy the blip a second time doesn't work. If I destroy "all" blips it gets picked up and destroyed. If I save and load again, there will only be one object with that UID and it gets destroyed properly.
Has this ever happened to anyone else? Is there any way it can be avoided?
Edit: I'd post a capx, but I can't seem to recreate it outside of the main game I'm working on, which is pretty massive and kind of a mess.