/Engine/Source/Runtime/RenderCore/Public/ShaderPermutation.h
Converts dimension's integer value to dimension's value id, bu in this case fail because the dimension value was wrong.
static int32 ToDimensionValueId ( [Type](API\Runtime\RenderCore\TShaderPermutationSparseInt\Type) E )