Siccity / GLTFUtility

Simple GLTF importer for Unity
MIT License
1.02k stars 218 forks source link

"Asset Import Failed" Error in Unity with gltf from three.js szene #102

Open chrisssssy opened 4 years ago

chrisssssy commented 4 years ago

Hello again,

i tried to import a file that i generated from an three.js szene with this exporter. The import in unity with drag and drop fails and i get this error message: _Asset import failed, "Assets/Models/delta_v4noLines(1).glb" > JsonReaderException: Additional text encountered after finished reading JSON content: �. Path '', line 1, position 34261. So it seems that the json-string is incorrect, but when i check the string in the .glb file, there is no such error. The Khronos GLTF-Validator confirms that its a valid gltf-file. Also this GLTF-Viewer and the Win10 3D-Viewer imports the file correctly.

Do you have an idea on whats's the problem here?

Edit: Attached the glb file delta_v4_noLines(1).zip

chrisssssy commented 4 years ago

Some other models (example) import in unity without error. But the meshes are not importet correctly. All meshes seem to have a triangle count of zero. image