[Help] Graphics device doesn't support Repeat wrap mode on NPOT textures.

Hi all,
I’m making a mobile game. When i update the Unity3D from 3.5.6 to Unity3D 4.3.4. I met the problem.
Some of my textures are Repeat Wrap Mode. It’s OK on Unity3D 3.5.6. But now it is not ok!

“Graphics device doesn’t support Repeat wrap mode on NPOT textures.Falling back to Clamp.”

Can anyone help me ? Please~:)

You can write your own cg shader and truncate texture coordinates inside it.

Open the textures on your favourite image editing tool and save them with a POWER OF 2 size, like 256256, 512512, 1024*1024

Hi,
Same error here.When i update Unity-4.3 to Unity-4.5.5.i used to all the Texture type in inspector and this happened too.
Please help.

The reason it’s not working is because the dimensions are Non Power Of Two. You can either do what giulio.pierucci said, and make it a power of two, or you can go to the import settings, select Texture Type - Advanced and Non Power of Two - To Nearest. That’s what I did, and it worked for me.

3 Likes