Recently, I've been having a problem with Unity. I imported my model and for some reason only the eyes of my character showed up. Unity seemed to detect the existence of the rest of the model, but everything else refused to show up, not even as a wireframe.
After some fiddling around, I got it to show up as a wireframe (I can't exactly remember how I did it, I was really tired at the time), but I can't seem to texture it at all. It just appears as a plain diffuse lambert material. Any attempts I've had at giving it a texture, even with just basic Unity materials, doesn't seem to work and I can't figure out why. The model seems to completely ignore any and all materials I give to it. Why can't I seem to give a texture/material to my model?
Replies
What are you exporting?
What are you exporting it from?
What format are you exporting it as?
Does it load back into your original 3D program OK? Can other 3D programs open it without those issues?
How do I check that? Also, while I have the UVs properly laid out on my model, there's no texture in the model file right now because I haven't made a proper UV texture yet. Currently, I just have a shader I customized for testing purposes. Despite that, I tried applying several of Unity's default shaders and it's still not working.
I'm not exporting anything. I think you mean importing.
The model is a native Maya .MA File, not exported as anything.
It works fine in Maya. It has no issues and works perfectly. Unity is the only thing that seems to be freaking out about it for some reason.
Within Maya, export as an .OBJ if it doesn't have animation, or an .FBX if it does.
Also, make sure you don't have any cameras or lights in the export; Unity sometimes freaks out if the file it's importing has non-model stuff.
http://unity3d.com/unity/workflow/asset-workflow
Fixed the issue. It was just a matter of deleting the history of my mesh.
Also, just a friendly note. Unity also accepts the use of .PSD. So you can work directly from Unity using PSD's without the need to export another image. Unity will compress the image during run time.