How do I enable DOTS Instancing on a material/shadergraph (846773)

I cannot find this option anywhere. I found the GPU instancing option but there is nothing next to it for DOTS. I am using Unity 2020.3

Are you using URP? You can tick the Hybrid Instanced option by Node Settings → Override Property Declaration then select Hybrid Per Instance

I am utilizing HDRP, in the following thread it says it appears in HDRP.

Just tick the GPU instantiation on the material, in the inapector. That it.

There is only an option for this on the material not the ShaderGraph, I ticked the one on the material in the inspector however that did not make a difference.

ShaderGraph shaders automatically produce DOTS variants once ENABLE_HYBRID_RENDERER_V2 is defined in the project. You don’t have to set anything on the material either, the keyword will automatically get set when rendered by the HybridRenderer.
You have to use HybridRendererV2.

Depending on Unity version this may look slightly different.
Earlier there was single line of text, and keywords need be separated by semi colon ;

@julian-moschuering

Hm I did this too, my entities are still all sharing the same properties however. Here is what I am doing codewise:

Entity newNodeEntity = entityManager.Instantiate(nodeEntityPrefab);

Translation translation = new Translation()
{
      Value = coord
};

entityManager.AddComponentData(newNodeEntity, translation);

Color evaluatedColor = nodeValueGradient.Evaluate( (float)value);
float4 colorF = new float4(evaluatedColor.r, evaluatedColor.g, evaluatedColor.b, evaluatedColor.a);
MaterialColor mcc = new MaterialColor { Value = colorF };
entityManager.AddComponentData<MaterialColor>(newNodeEntity, mcc);
      
entityManager.SetComponentData(newNodeEntity, new NodeData { nodeName = id, nodeValue = value });

Also, I Debug.Log and the colorF is being given a valid color so I know the issue is with applying the color to the material/shader.

Material Overrides | Hybrid Renderer | 0.10.0-preview.21.

Tried following the steps here that also did not make a difference