I was able to solve this problem by assigning the same light function material to a box with no collisions that isn’t rendered at runtime, and then creating a dynamic material instance from that, setting a material instance dynamic variable, and then using THAT to set my directional light’s light function material using the set light function material node. It’s a dumb workaround, but it doesn’t work any other way.
2 Likes