New Sky/Atmosphere model in 4.24

SkyAtmosphereLightDirection always returns 0,0,0 when used as a Light Function. Is this a bug or expected behavior?

lfdbg.jpg
Left: Light function applied to a light
Right: same material applied to a mesh