Cannot read properties of undefined (reading 'DT_FLOAT32') #1516
-
For some of my models when I run a meshopt encoder over the model I get this error:
Im not really sure how to troubleshoot this or what the correct steps are to check if this is going to happen on a model or not. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
It looks like the error occurs just when reading the model, not yet to the step of encoding with Meshopt, is that correct? This is most likely a sign that the model uses Draco compression, and Draco dependencies are not installed, or not installed correctly. Documentation: https://gltf-transform.dev/modules/extensions/classes/KHRDracoMeshCompression If the model doesn't use Draco compression, then no error should occur. That said ... there is supposed to be a clearer error message than this when the Draco encoder/decoder isn't installed, if you find that's not the case please let me know! |
Beta Was this translation helpful? Give feedback.
It looks like the error occurs just when reading the model, not yet to the step of encoding with Meshopt, is that correct?
This is most likely a sign that the model uses Draco compression, and Draco dependencies are not installed, or not installed correctly. Documentation:
https://gltf-transform.dev/modules/extensions/classes/KHRDracoMeshCompression
If the model doesn't use Draco compression, then no error should occur. That said ... there is supposed to be a clearer error message than this when the Draco encoder/decoder isn't installed, if you find that's not the case please let me know!