Unity fog resets to white?

So I’m trying to get a deep green fog color in my scene, but every time i set the fog color it just immediately changes back to white. I’ve tried setting the color in the lighting menu in the editor using the color selector popup and the color dropper but it just immediately snaps back to white. I’ve also tried setting it programatically…

public Color fogColor = Color.green;

private void Awake()
{
	RenderSettings.fogColor = fogColor;
}

But still the fog color just snaps back to white. Even if i start with it paused and go frame by frame, theres not a single frame in which the color is the desired color. The only thing I’ve found that works is to literally

private void LateUpdate()
{
        if(RenderSettings.fogColor != fogColor)
        {
	        RenderSettings.fogColor = fogColor;
        }
}

but that ultimately boils down to me setting the color every single frame according to a debug I put in there. The weird thing is it only works if its late update - not update - so it seems like something somewhere might be setting the color back to white every single frame? I’ve tried searching all files for “RenderSettings.fogColor” to see if there was anything setting the color in that way and it really doesn’t seem like it.

Has anyone else run into this?

got it figured out. it had to do with a 3rd party atmospheric effect we were using. It seems like it was setting the color back to some specified value on the event that the color changed.