- Home /
Adding a UV-map material in Unity 5 not working
I am currently using Unity 5 to setup a small game so that I can see the assets I recently made in blender in action.
I have created a uv-map in blender and added the necessary colour (it works and displays nicely and blender) but it doesn't seem to work in Unity. What I've done is created a material, chosen the uv (under the albedo option) and then applied it in the skinned-mesh renderer of the object but it colours the entire object only one of the colours included or it just doesn't colour at all. I tried messing with the import options (swapping the UV's) but it doesn't seem to work. I am using the .blend file directly.
I've been stuck on this for quite a while now and so any help would be greatly appreciated.
How many UV maps does your model have in Blender? Also, please for clarity refer to textures as textures not uvs ;)
When you say
it colours the entire object only one of the colours included
Do you mean it's using part of the texture, like one of the pixel colors? And have you checked your texture import settings to see that it is getting imported at the right size and as the right type? e.g. Texture or Advanced.
Answer by kevinspawner · Jan 13, 2016 at 06:55 AM
If you have multiple material setup in your mesh, it is better try first creating appropriate material in blender and assign a texture. Once you did this export it as fbx from blender and once you import it in unity, it will apply the correct material with texture.
Answer by Amposter · Jan 13, 2016 at 10:27 AM
The problem is because of the rig in my .blend file. Everything works perfectly when I use .blend files with no rigs attached, but the moment I use something with a rig the UV-map doesn't apply correctly. I've made a separate post for the new issue.