Instance creation warning without geometry
@@ -47,6 +47,9 @@ export class InstancedMesh extends AbstractMesh {
this.setPivotMatrix(source.getPivotMatrix());
this.refreshBoundingInfo();
+ if (!this._sourceMesh.subMeshes) {
+ Logger.Warn("Instances should only be created for meshes with Geometry.");
+ }
this._syncSubMeshes();
}