Objects spawn on false position ? Why?

Hello developers!

My problem is, i would like spawn walls and platforms straight up and the position of these objects are wrong. If i use my spawnRow() function in the create() methode it works fine but i use it in the update i have this problem.

Wrong in Update methode: IMG

Correct in Create methode: IMG

Here is my complete code from GitHub

Sorry for my bad english :laughing: