You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm using the example https://codesandbox.io/s/mlgzsc, and I just changed the loaded glb file from the rabbit to my own model. However, the program is reporting an error as shown in the title. What should I do?
The text was updated successfully, but these errors were encountered:
KIC-Crack
changed the title
TypeError: Cannot read properties of undefined (reading 'count')
TypeError: Cannot read properties of undefined (reading 'array')
Apr 24, 2023
@KIC-Crack Faced the same error last week when I loaded a model that didn't have attributes.uv, which the underlying library is explicitly looking for.
A workaround for me was to populate attributes.uv with an empty array after load:
geometry.setAttribute('uv', new BufferAttribute(new Float32Array([]), 1))
Hello, I'm using the example https://codesandbox.io/s/mlgzsc, and I just changed the loaded glb file from the rabbit to my own model. However, the program is reporting an error as shown in the title. What should I do?
The text was updated successfully, but these errors were encountered: