Hubs-Foundation / Spoke

Easily create custom 3D environments
Other
652 stars 256 forks source link

"Cannot Read Property 'Array' of Null" #967

Open hc3045 opened 4 years ago

hc3045 commented 4 years ago

Hello,

I am new to Spoke from an interior design background. (I know nothing about code and etc.) I am trying to upload 3D models with textures into Spoke and got as far as exporting GLB files from three.js editor and importing into my spoke assets. I got to a point where things are showing up alright in the spoke. However, when I try to publish and test the model, it showed the "Cannot Read Property 'Array' of Null" error Knowing the problem is the GLB file I uploaded, I tried to reduce the mesh of my model and reduce the texture size of the model. I have also disabled walkable, but the scene still couldn't publish.

I have attached the spoke file and a screen shot for anyone's reference. Any help would be appreciated, Thanks, Thom

Annotation 2020-05-22 224030 outdoor-meetup.zip

robertlong commented 4 years ago

It looks like the mesh you're trying to combine doesn't have indices. This is a bug in the MeshCombinationGroup. A work around for now would be to ensure your mesh is exported with indices.