Issue with importing voxel objects – all cubes appear as one green cube

Hi, I’m making a game with Box2D physics, but all objects are in 3D. Right now, I’m trying to set up a pipeline to convert pixel art into multiple voxel cubes, but something is going wrong at the 3D stage.

My process:

  1. I take pixel art and add height to it.
  2. I color the cubes in Qubicle.
  3. I export each cube separately.
  4. I open the exported cubes in 3ds Max – everything looks fine there.

However, when I import the cubes into Defold, they don’t appear as multiple cubes but as a single green cube without textures. It seems like I might be exporting incorrectly. Other 3D models i`ve exported work fine in Defold, but in this case, even the shape isn’t correct.

Also, in 3ds Max, each cube is a separate object.

Am I missing something in the export process? How should I properly import multiple voxel cubes into Defold?

Model attached

snake.zip (57.7 KB)

1 Like



i`m not sure that the problem is on my side, because it works fine in other software

1 Like

Consider .dae deprecated, and I think it won’t support multiple meshes. Could you please try exporting and importing gltf. gltf supports multiple meshes.

thanks a lot for a quick answer, now it seems like one cube


and export options has only few checkboxes, so I’ve tried them all

Sorry, I don’t know what is wrong going on here, but I’m pretty sure glTF supports multiple meshes. I’ve used it many times without a problem. I generally export from Blender, though.

Just export it from Blender. And it seems ok at the Defold.

with texture

3 Likes

hmmmmmmmmmmmmmmmmm, thanks a lot! So the problem is in 3ds max for some reasons

1 Like