DX11: Texture index out of range

Created a terrain shadergraph. Worked well until I started getting this error. It does not seem to affect anything as the shader still renders. It just pops up in the console and keeps ballooning.

There is no other explanation given. I tried looking online but with no success.

Any heads up as how to go about debugging this would be greatly appreciated.

Hdrp 6.9.0
Unity 2019.2.6f1

Thanks

5004803--489308--unity.JPG

@firefly9000

Looks like it’s related to number of active texture samplers.
I’m getting this error on StackLit graph when I plug more than 48 textures to the graph.
I’m using Sampler States to stay within the 16 texture samplers limit.

Any idea why it allows 48 textures instead of 128?