I noticed this bug when I tried to set a value that could not be represented as a float.
Shader.SetGlobalInt()
is cast to float internally, so
Shader.SetGlobalInteger()
needs to be used.
·