When converting to gLTF and importing it in a 3D scene editor (Mundus), the application can't import my model due to it missing some attribute.
When I put my model through a checker, it does not detect a mistake somewhere: https://github.khronos.org/glTF-Validator/
In the code of the 3D scene editor, it crashe on it.name being null
dto.materials?.forEach {
val attributeImageIndexMap = HashMap<Long, Int>()
linkTextureToImage(dto, attributeImageIndexMap, it.pbrMetallicRoughness.baseColorTexture, PBRTextureAttribute.BaseColorTexture)
linkTextureToImage(dto, attributeImageIndexMap, it.normalTexture, PBRTextureAttribute.NormalTexture)
linkTextureToImage(dto, attributeImageIndexMap, it.emissiveTexture, PBRTextureAttribute.EmissiveTexture)
linkTextureToImage(dto, attributeImageIndexMap, it.pbrMetallicRoughness.metallicRoughnessTexture, PBRTextureAttribute.MetallicRoughnessTexture)
linkTextureToImage(dto, attributeImageIndexMap, it.occlusionTexture, PBRTextureAttribute.OcclusionTexture)
materialImageMap[it.name] = attributeImageIndexMap
}
Can this be solved somehow in Blockbench which would make my model not miss some fields? Or is this an issue with the scene editor software I'm using?