I’m getting duplicate id attributes in my exports. One example of this problem is an image and a material sharing the same id.
The other example looks like:
<triangles count="14" material="DefaultLib1.Material5">
<input semantic="VERTEX" source="#geometries_98-Vtx" offset="0"/>
<input semantic="NORMAL" source="#geometries_98-ImplicitNormal" offset="1"/>
<input semantic="NORMAL" source="#geometries_98-User_Normal" offset="2"/>
<input semantic="TEXCOORD" source="#geometries_98-Texture_Projection" offset="3"/>
<input semantic="COLOR" source="#geometries_98-Vertex_Color" offset="4"/>
<input semantic="COLOR" source="#geometries_98-Vertex_Color" offset="5"/>
<input semantic="COLOR" source="#geometries_98-Vertex_Color" offset="6"/>
<input semantic="COLOR" source="#geometries_98-Vertex_Color" offset="7"/>
<input semantic="COLOR" source="#geometries_98-Vertex_Color" offset="8"/>
<input semantic="COLOR" source="#geometries_98-Vertex_Color" offset="9"/>
<input semantic="COLOR" source="#geometries_98-Vertex_Color" offset="10"/>
<input semantic="COLOR" source="#geometries_98-Vertex_Color" offset="11"/>
Note all the colour inputs. There are actually seperate <source> elements and data exported for each one of those colour references, and each has the same id. I’m not sure why there are so many (I haven’t talked to the artist yet), but I’m sure they should have unique ids.
Cheers,
Dave