Problems with infinite scrolling 2d background

Hi Everyone,

I am trying to create an infinite scrolling 2d background. A sprite from a sprite sheet is moved to the left every tick. When it falls of the screen, its position is reset. To create the effect of an infinite scrolling background, the script that moves the sprite also creates another game object with the same sprite, and sets its parent to the first sprite.

The problem I am having is that during Play, the sprite will show a vertical purple line - that is actually part of the spritesheet I am using.
Since the frame dimensions of the sprite from the spritesheet should be constant, I have no idea why the purple background of the spritesheet is showing.
6368163--708786--Discord_WQH512BwDf.png

Is there any solution to this?
Spritesheet is attached.

I have also tried using Unity’s sprite tiling feature, which also produces the same result.

The purple line mostly appears when the game skips or lags a little.