I am having some issues with the UDL Directional Lighting. I
have some macro using TokenMod that change the lighting. For this example I
will use three.
Snuff, turn everything off
!token-mod --off emits_bright_light emits_low_light --set
directional_bright_light_center#0 directional_bright_light_total#0
Torch, torch lighting
!token-mod --on emits_bright_light emits_low_light --off
has_directional_bright_light has_directional_dim_light --set
bright_light_distance#20 low_light_distance#20
directional_bright_light_center#0 directional_bright_light_total#0
Bull, Bullseye lantern
!token-mod --on emits_bright_light
has_directional_bright_light --off emits_low_light --set
bright_light_distance#120 low_light_distance#60
directional_bright_light_center#90 directional_bright_light_total#10
Everything works fine, unless I set the directional lighting
Manually. I have Night Vision on with a tint of magenta to help show the
lighting.
Start with everything off.

Bull
works

Bull
works

Can use the macros to change between then without issue.
If I go in and manually set the Directional Lighting the
macros fail.
This works as expected.

The bull macro works.
Snuff works

Torch does not work. It reverts back to the manual
directional settings.
Look at the settings manually and Directional Lighting is off.
Enable it and it is set to zero and zero.
Where is Roll20 getting the directional settings. Where is
this stored that TokenMod is not changing it. Why is it still using the settings of 10 and 20?
If I just use save on the above settings, it saves the zero
and zero directional settings. Now the Bull macro works, but if I use the
torch, there is no light, because direction is set to Zero and zero, it is like Snuff. Try all the macros and nothing will correct this.
To clear this issue, I have to go into the settings manually
and turn off lighting and save it. Then everything is "reset" and the
macros work again.