the problem is that it doesn't seem to be possible to set the mesh of an empty dummy entity.