When a mesh with a ShaderMaterial is instanced using createInstance the instance does not render.
Removing the ShaderMaterial will cause the instance to render. clone works as expected.
This looks like a bug to me, unless there is some setting I’m missing.
I think this is expected. You are using your own custom shader which doesn’t have instancing support. Please check the following PG. I added instancing support from BABYLON instancing shader. Most of my changes are in your vertex shader. In js code, I only added an additional uniforms declaration “viewProjection” to your shader material.