Here’s what I have in C# code:
Graphics.DrawMeshInstanced(meshToDraw, 0, material, renderMatrices, renderMatrices.Length, null, ShadowCastingMode.Off, true, 0, null, LightProbeUsage.Off);
In shader, I add some code like this:
#pragma multi_compile_instancing
And I already used the instance in shader.
In my graphics settings, I set the Instancing variants to be Keep All.
But after building, I can’t see any mesh to be rendering.