Polygon2D texture broken when game is running

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By websterek

Hi, I have some issue with Polygon2D and texture applied to it.
In editor everything looks ok but when I’m playing scene it’s broken. There is no any script what could edit parameters of it. UV and shape polygons are set correctly.

What I’m doing wrong?

enter image description here

:bust_in_silhouette: Reply From: Xrayez

I think you need to reimport your texture so that it can repeat.

Select the texture from the filesystem, then go to Import dock tab and set repeat flag to Enabled, then press Reimport button. Hope that helps.