I am currently working on a simple infinite runner game and I have one problem. Sometimes (like 1 in 7) modules are being spawned twice at the same location. I have 5 different modules with the same logic and looks, but each spawning different objects.
Here one of the tiles moved to the right.
273801-
Every module looks like this, with two box collisions with overlap only pawn collision set. First for spawning next tile, second for destroying self. Location for next module spawn is being taken from ArrowComponent set same in every module.
I did try it and it didn’t work. Actually, I just found what was the problem. I had my original starting BP which was generating first 7 tiles. Somewhere there it was spawning 2 tiles at the same position, so it was duplicated from the very beginning.