Wrap Mode: Repeat acts like Clamp on Windows Phone 10

Hello,

I have a game that I’m planning on porting to the Windows Store, but I’m encountering an odd problem. I have dynamic resizing of a 2D quad that acts as grass. I scale it by a value relative to the screen size and then I change the material.mainTextureScale’s “x” value by that same value. The Wrap Mode on the texture is set to Repeat, not Clamp. On Android and on Windows 10 (Store app), I get the desired result, but on Windows Phone 10, the texture acts like it’s set to Clamp. I’m not changing the wrap mode via script (I don’t even think I can) and I’m not getting any errors. What’s causing this?

Thanks.

(My Windows Phone device is a Microsoft Lumia 640, if that matters).


It seems like my issue was my texture being a non power of 2 and me doing nothing about it, because now it is working. I’m still figuring things out though.