this question seems to be stupid, but I have some troubles picking an instance by its UID. The game itself has a lot of objects (about 1.000).
It's a board game with a big grid.
On this board I spawn some towers (it's a tower defense game). Then I try to pick an specific tower by it's UID.
The tower is there, and the UID is matching the UID from the tower. However sometimes it doesn't pick the instance.
Below you will find the function.
It works fine if I add tower by tower, but it doesn't work if I add more towers and then call the function shown above.
Any idea what can the issue could be? I know it's difficult to say with out the capx file.
I'm using Construct 2 r236 beta.