Skip to content

GLTF Mesh Import: Logging the error "Unable to process mesh due to 16-bit index limits" #4203

@AtlasLinden

Description

@AtlasLinden

Environment

Second Life Project Gltf-mesh-import 7.1.14.15312236431 (64bit)

Description

Uploading the below model gives the following error in the Upload Model Log: LOD3 Bad element

Whereas in the SecondLife.log file the error is actually given as LLGLTFLoader::populateModelFromMesh : Unable to process mesh due to 16-bit index limits

The Upload Model Log should reflect the same information as given in SecondLife.log instead of the vague error currently provided.

Model: https://raw.githubusercontent.com/KhronosGroup/glTF-Sample-Assets/main/Models/ScatteringSkull/glTF-Binary/ScatteringSkull.glb

Note that this issue may be already be covered in #4114

Reproduction steps

  1. Upload the above model
  2. Verify Log shows helpful info

Metadata

Metadata

Labels

bugSomething isn't workinggltf_importtriageFlags issues that need to be triaged

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions