I have one directional light (sun). I have a Sundial that switches my skybox from day-dusk-night. When dusk hits, the light intensity starts to lerp from 1.5 to 0. Everything works as it should.
I now have a prefab with lights attached that the player can insert. When dusk hits, the lights turn on, when day is reached, the lights turn off.
All lights are real-time and everything works as it should in the Editor.
For some reason, in a Build, when the Directional Light intensity goes to 0, the Spot Lights turn off.
There is no code connecting the two lights.
I fixed the problem by clamping the light intensity to .001f.
Is this a bug or a random light setting somewhere (using URP)? I have no idea why this is happening. Any ideas?