Hi,
I use the function “GetAdditionalLightsCount” to get the spot light count for my shader, for some reason this works ok in editor, but in build seems to not return or return wrong number.
I have added the pragmas to include the extra lights and shadows in the shader and when i hardcode the number in the shader i get the light correctly in the build, but if i use the GetAdditionalLightsCount number the light does not show up.
Is this a known bug ?
Thanks in advance