Unable to correctly import material applied on a 3D model FBX file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
We are unable to correctly import material applied on a 3D model FBX file. Other aspects like structure, geometry is imported properly but the appearances go missing for attached file.
The issue is observed in FBX SDK version 2020.3.2 and 2020.3.4. We used ImportScene sample from FBX SDK to validate the difference in behavior.
For earlier version of FBX SDK 2020.2.1 - materials in mesh was mapped "By Polygon Vertex" with an empty indices array.
Now, in version 2020.3.4 - same material is mapped to "All Same" and Indices for this has single value of -1. We also get a warning while reading the FBX file with ImportScene sample -
********************************************************************************
WARNING:
The importer was able to read the file but with errors.
Loaded scene may be incomplete.
Last error message: [LayerElement] Bad value in array (Materials) would cause an out of bounds access
********************************************************************************
Reporting for -
FBX SDK version : 2020.3.2 and above