Hi,
I also ran into an issue when exporting a skeletal mesh that has multiple sections that all share the same material slot. It looks like the index buffer that's constructed is incorrect. In GLTFMeshSection.cpp line 103 the index buffer is being assigned indices at the wrong array index.
<pre class="ql-syntax" spellcheck="false">// Old code
IndexBuffer[Index] = NewIndex;
// Changed to
IndexBuffer[IndexOffset + Index] = NewIndex;
</pre>
I had a look on GitHub but it doesn't look like there's been any changes to this in *ue5-main. *Is there a CL with a fix that we could cherry pick (to avoid diverging on our side)?
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-291380 in the post.
0 |
Component | UE - Editor - Content Pipeline - glTF |
---|---|
Affects Versions | 5.6 |
Target Fix | 5.7 |
Created | May 29, 2025 |
---|---|
Updated | Jun 4, 2025 |