Skip to content

Cannot read properties of undefined (reading 'DT_FLOAT32') #1516

Answered by donmccurdy
Pryme8 asked this question in Q&A
Discussion options

You must be logged in to vote

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!

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Pryme8
Comment options

@Pryme8
Comment options

@donmccurdy
Comment options

Answer selected by Pryme8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants