Save glTF from ASCII to binary

Hi, I try with code below to read a glTF ASCII file and save in binary mode.
But when open new file I don’t see anything.
What’s wrong?

Scene _scene = new ();
string fileName = “c:\”; //glTF ASCII
FileFormat inputFormat;
inputFormat = FileFormat.Detect (fileName);

// Display the file format
Console.WriteLine ($"{fileName} file format: " + inputFormat.ToString ());

// load scene from glTF zip
_scene.Open (fileName);

GltfSaveOptions saveGltfOpts = new (FileFormat.GLTF2_Binary)
SaveExtras = true,
DracoCompression = true,

// save in binary format
_scene.Save (“c:\sample.glb”, saveGltfOpts);


Are you using a valid license while using the API? Can you please share your sample file for our reference so that we can test the scenario in our environment and address it accordingly.

Yes, I use a valid trial license:
This is a temporary license for non-commercial use only and it will expire on 2023-01-07

This is the file


An issue as THREEDNET-1297 has been logged in our issue tracking system for the sake of further investigation. We will look into its details and keep you posted with the status of its correction. Please be patient and spare us some time.

We are sorry for the inconvenience.

Can you share what tool you used for viewing the generated file? Thanks.

I open in Blender 3.3 and XbimXplorer
image.png (14.5 KB)


We will get back to you soon on it after investigating the ticket.

The issues you have found earlier (filed as THREEDNET-1297) have been fixed in this update. This message was posted using Bugs notification tool by Aspose.3D Team.