model import from maya

I have the following problem while importing the marble tutorial’s platform mesh from maya 8.5. The model I made has two textures (floor and pillars) and two materials in maya - where it displays just fine. In Unity the mesh opened just fine except that it shows two texture in the inspector (see on the right) but only one texture on the model (left). Texture naming is following the 8.3 convention.

I have tried to re-link the missing texture on the model as the tutorial suggests, but still no joy. Does Unity allow 2 or more texture on the same mesh or am I missing something? Any help will be appreciated. Thanks.

Eugenio

Yes, un Unity you can have more than 1 texture applied to a mesh. There was a thread about that up here recently but do not recall all the top of my head the name of it.

There is some documentation about this stuff starting here:

http://unity3d.com/Documentation/Manual/Working%20with%20Assets.html

HTH,

– Clint

From the screenshot it seems the first material just doesn’t have a uv mapping set up in Maya. Apart from that i can’t really tell from just a screenshot.

Hello,
I guess I’ve found the problem. Since I’m new to Maya environment as well as to Unity I’ll appreciate your confirmation on my speculation. It seems that the Unity importer for Maya is having a hard time when you create more than one UV Set on the Mesh. In the test scene I enclose the left cube (the one showing the problem) has two materials pointing each to its own UV Set, while the cube on the right has two materials pointing to the same UV Set.
Also I’ve noticed the following problem. Before texturing the right cube, I have applied a red color to one material. I then rechanged the same material color to a white, and then I’ve applied the texture. You can see as the right cube still shows a red material while the same material in the Maya scene is now white. I have tried to delete the history, but still no luck. Hope you’ll be able to provide me some explanation why is this happening. I enclose a test scene for you to play with. Thanks,

Eugenio

30021–1106–$testscene_342.zip (1.21 MB)