draco icon indicating copy to clipboard operation
draco copied to clipboard

1.5.x RuntimeError: 'Error: Draco encoding failed.'

Open jlledom opened this issue 4 years ago • 15 comments

Hi,

I'm experiencing this issue when using gltf-pipeline.

Npm packages: [email protected] [email protected]

How to reproduce it: Run gltf-pipeline -i test/test.gltf -o test.glb -d=true --draco.compressionLevel=10 --stats

This is probably due to some problem on the gltf, but I can't share it in public. Could you please give me an email address where I can send the gltf? so you can reproduce the bug?

Thanks

jlledom avatar Dec 17 '20 13:12 jlledom

@jlledom: Replied directly to you off thread.

tomfinegan avatar Mar 08 '21 20:03 tomfinegan

I sent you the gltf

jlledom avatar Mar 11 '21 07:03 jlledom

Well, this is embarrassing: This one definitely fell off of my radar. Is this still an issue with the latest releases?

tomfinegan avatar Apr 22 '22 01:04 tomfinegan

Hello, yes, I just tried with [email protected] and [email protected] and I see the same error

jlledom avatar Apr 22 '22 08:04 jlledom

Thanks for checking. I'll try to get you some more information about what's going on by early next week.

tomfinegan avatar Apr 22 '22 17:04 tomfinegan

Hi @tomfinegan, do you have any update on this? I also have several files with exactly this error.

Ben-Mack avatar May 12 '22 03:05 Ben-Mack

@Ben-Mack Do you have a file that can be shared publicly that reproduces a similar error?

The error reported in this issue could be many things, but it would help if there were a shareable file that reproduces it. I haven't had a chance to dig into this problem, and a file that reproduces a similar error without sharing restrictions would help accelerate a diagnosis.

tomfinegan avatar May 12 '22 04:05 tomfinegan

After closer investigation, my cases are caused by mesh with zero surface area. Removing them fixed the error for me.

Ben-Mack avatar May 12 '22 23:05 Ben-Mack

guys, I have an example of the file in glb format, with the same error. I hope it's going to help to fix this one: eec63d72504d-Underwater_with_Manatee.glb.zip

maksspace avatar Sep 28 '22 11:09 maksspace

HI, what is the progress about this problem now

dandingol03 avatar Oct 04 '22 03:10 dandingol03

i met the same problem

dandingol03 avatar Oct 04 '22 03:10 dandingol03

actually, in my case everything is really simple - I tried to compress an already compressed file :)

maksspace avatar Oct 09 '22 14:10 maksspace

@dandingol03 maybe you have the same issue, can u share here your example?

maksspace avatar Oct 09 '22 14:10 maksspace

After closer investigation, my cases are caused by mesh with zero surface area. Removing them fixed the error for me.

@Ben-Mack how did you removed the zero area shapes? can you help me with this?

@tomfinegan @FrankGalligan any update on this issue. I am too facing the same issue for some files.

VikasB1904 avatar Dec 14 '22 07:12 VikasB1904