Error: Length in header does not match actual data length:

I loaded a model with a size of about 40M and reported such an error. What should I do?
My version is:
“babylonjs”: “^4.2.2”,
“babylonjs-loaders”: “^4.2.2”,
“babylonjs-materials”: “^4.2.2”,

cc @bghgary

@babylonjs197s can you share a repro somewhere?

1 Like

I don’t know how to reproduce using the online editor, I imported FBX through Blender and exported GLTF, when exported GLTF I compressed it and a new error occurred. Render normally if not compressed.

Can you put the asset through the glTF-Validator and see what it says? Or send the file that isn’t working?

Hello just checking in, are you still having issues? @babylonjs197s

Yes, but I can display it when the compression level is changed to 4 or less, but the color has changed. Due to the requirements of the model company, I can’t share it

Could you maybe share a similar model with the same problem?

1 Like

@babylonjs197s Did you try this?