Canvas Background Wrap setting

When I imported the background canvas the wrap automatically set to Clamp for some reason. Just a note that it needs to be Repeat for the image to tile properly. Took me a while to find the error.

5 Likes

Thank you for pointing that out.

Thanks, you saved me some frustration and time.

Yes, this solved my problem where the image didn’t repeat over the canvas. Thanks a lot.

I looked for information on this and saw this Q&A where they avoid this problem with:

backgroundTexture.wrapMode = TextureWrapMode.Repeat;

and then use the texture’s width and height in the Rect, so we don’t need a constant.

Privacy & Terms