Mesh with same material applied to two or more faces but in different slots fail in interesting manner.
tracked
Curious Thespian
1) create a simple mesh with two triangles, I used Blender
2) create two material slots
3) ensure both material slots are the same, e.g. MaterialA and MaterialA
4) apply a different slot to each triangle
5) export as dae, import to SL
6) rez the object, select and apply any PBR material to the object, i.e to both faces
7) release edit mode
8) shift drag the object to copy. Both objects will now have one face no longer with the PBR material applied. This also works with making any change, e.g. to "take", "take a copy", change permissions, sell, anything.
To demonstrate this and to triage what has happening I placed two planes joined as a single object at http://maps.secondlife.com/secondlife/Wensley/181/249/3759
This is available in CMT for $0
One plane has material A&B applied to the triangles, the other has materials A&A. It is A&A that is failing. Other than the difference in the material slots the mesh is otherwise identical.
This issue does
not
occur with Blinn-Phong textures.I have tested this in the LL release viewer, Firestorm release, Firestorm Beta and on both Aditi and Agni.
My apologies if it's the wrong category!
Log In
Leviathan Linden
An update: I think maybe I've been working on this issue for the last week. It was determined to be a server-side bug and put on our backlog however when I looked into it more carefully I discovered the problem more complicated: the full fix will require both server- and client-side changes. The good news is: I'm almost done with both sides and the deployment for one does not depend on the other. I will submit a viewer-side pull-request soon. The server-side work will probably get into a late Feb or early March update (codenamed 2026.02-Loganberry).
Leviathan Linden
The client-side fix is in pull request 5413: https://github.com/secondlife/viewer/pull/5413
Dodgeman DeCuir
Hello,
I've got recently a mesh that has this issue and now I have to contact creator to fix it and it is quite frustrating when you invest time and waste it in going through all the possible issues to figure out this is a face count issue due to corrupted loading on the viewer.
So can something be done to correct such annoying issue?
This post is from june 26 2024 and probably that issue is known for way longer.
Thank you.
Kristy Aurelia
It might be related to this: https://github.com/secondlife/viewer/issues/853 the viewer shows both linked objects of having 2 faces, while LSL reports one of them having just 1 face.
Dan Linden
marked this post as
tracked
Dan Linden
Thank you for the report, Curious!
Issue tracked. We have no estimate when it may be implemented. Please see future updates here.