I tried to save and hope to check that file by blender.
writeToGLTF in saveScene doesn't seem to work well.

Because it cant be opened caused by worn saved file format.

Then, I checked the file compared with the commonly used gltf file as Damaged Helmet.
if showed quite different data information as below.
Caused by the lack of access permission, I could just look up the header files.
How to fix and save the gltf file appropriately to be able to be shown by blender?

If anyonw knows the solution, could you give me advice about that?