Problems with spawning prefabs due to framerate

First, this Using code tags properly
Second, the problem is here because you’re using transform.position for spawning new objects. I guess it is moving over frames so you can’t guarantee the objects will overlap. Instead of using transform.position try to calculate where you want to place new platform based on last placed platform position and bounds.