Complex UV Layout in Maya
Over the last couple of years UV layout in Maya has changed for the better. In this course we're going to be taking a look at some of those changes as we UV map an entire character
# 1 28-08-2014 , 02:00 PM
Registered User
Join Date: Mar 2012
Posts: 5

Some meshes turned green after reloading the scene.

Hello,

I have a serious problem with maya where some of my objects on scene that were ok couple minutes before closing the maya became green after opening the same scene a minute later (no reference files were changed, moved or whatever, so nothing changed in environment). The materials on those objects are ok, the textures references are there, everything is fine... but objects are still green and I can't do anything about them.

I had the same problem earlier and fixed it only by copying those objects from earlier copies of the model into the existing but that creates copies of the same materials I already have and the names changes so I have enough of this solution already, is there any other way to fix it? Since those are objects that are made of "leaves" and selecting all those leaves to reapply the materials is um... time consuming.

Am working on Maya 2015 with all hotfixes applied.

Screenshots:
https://prntscr.com/4hb92j
https://prntscr.com/4hb9c4

EDIT: fun fact: the objects that use the same materials but were hidden didn't get corrupted.

user added image user added image


Last edited by zero3growlithe; 28-08-2014 at 02:43 PM.
# 2 28-08-2014 , 06:50 PM
NextDesign's Avatar
Technical Director
Join Date: Feb 2004
Posts: 2,988
When an object turns green it usually means that the shader that was assigned to it was deleted.


Imagination is more important than knowledge.
# 3 29-08-2014 , 01:23 PM
Registered User
Join Date: Mar 2012
Posts: 5
Well yeah, except for the fact that if I reassign the same shader again that was earlier there (the name still appears in the Attribute Editor btw, and I'm not creating a new one but reusing the previous one that maya lost reference to) then it is ok. So, is there an easier way to reassign the shaders without doing it exclusively for each object?

# 4 29-08-2014 , 02:14 PM
EduSciVis-er
Join Date: Dec 2005
Location: Toronto
Posts: 3,374
For your leaves, if they are named consistently, you can use the "select by name" tool and select all the leaves, then right click on the shader and "Assign material to selection".

Or, and this might be a long shot, if by some chance there still is a connection from the shader to the objects, you could right click "select objects with material" and then "assign material to selection". That would be the fastest way if it works.

# 5 07-09-2014 , 02:54 PM
Skalman's Avatar
Registered User
Join Date: Apr 2012
Posts: 293
file- set project, make sure maya knows where it should be looking for your textures and stuff. not sure if this is the case since its looking for your shaders, but thats all i can think of right now. also try deleting your history, sometimes some scripts or tools can mess up your materials


20 year old guy from Sweden



Big Bob Marley fan
Love skateboarding
Maya, Mudbox and Photoshop user

Full name: Marcus Ralman


https://www.facebook.com/MarcusRalman3D

^ My facebook page ^
# 6 08-09-2014 , 08:41 AM
Registered User
Join Date: Mar 2012
Posts: 5
It's not the problem with missing textures but broken shader links, but anyway, it never happened in earlier versions of Maya and in Maya 2015 it happens with any model I save (it happens with *.mb and *.ma files) and since I'm not using anything that is not by default included with the software I find it strange that bug count in maya rises rather than decrease... or not:

user added image

the only way I found to avoid the breaking is... hide the objects you don't want broken before saving lol

Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads