GLB to OBJ conversion issue


I am trying to convert the .glb to .obj using ASPOSE.3D but the conversion is failing for some .glb models and getting following exception

com.aspose.threed.ImportException: Cannot open this file E:\gltf\coffeemat.glb
at com.aspose.threed.jK.a(SourceFile:86)
at com.aspose.test.AsposeTest.main(
Caused by: java.lang.ArrayIndexOutOfBoundsException: Index 4775299 out of bounds for length 4775296

And for some models (LittlestTokyo.glb) the conversion is successful but the generated .obj model (LittlestTokyoOBJ.obj) was not as same as .glb model.

Please find the shared .glb and converted .obj model
( and conversion code is as follows :
Scene scene = new Scene();
try {
// converting 3D format to obj “LittlestTokyo.glb”); “LittlestTokyo.obj”, FileFormat.WAVEFRONTOBJ);
System.out.println(“Conversion is successful”);
} catch (IOException e) {

It would be really great if you could help me with this.
Thank you.

We are checking it and will get back to you shortly.


An investigation ticket as THREEDJAVA-236 has been logged in our issue tracking system to further investigate and analyze this case. We will further look into details of the task and let you know as soon as the ticket is resolved. Please be patient and spare us some time.

We are sorry for the inconvenience.

Hello @asad.ali
Please let us know is there any update on this issue



coffeemat.glb contains an unsupported GLTF extension, and it’s been recorded in THREEDNET-1185.

LittleTokyo.glb can be imported and converted to OBJ without problems in 23.1.