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 is the example of two tiles spawned at the same location, both with wall obstacle spawned.
Here one of the tiles moved to the right.
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.
BP for module looks like this
[link text] module class with Random_Module_Place function called from BP
[link text] video from the run where problem occurs but didn’t make path blocked
Any ideas on how to handle this problem?