In your fetch
code, is your mesh hosted on a different domain? no-cors
will not give you access to the response contents, so r.arrayBuffer()
will fail and never reach reader.parseAsArrayBuffer(c)
. Try removing the mode: 'no-cors'
bit and see what happens.