Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Bug Area light changes color at run time in HDRP and now in editor (not displaying chosen color)

Discussion in 'High Definition Render Pipeline' started by DarkStoneDigital, Jun 7, 2021.

  1. DarkStoneDigital

    DarkStoneDigital

    Joined:
    Sep 9, 2018
    Posts:
    12
    This is a super strange bug that I have tried to hunt down online before posting but I can't seem to find anyone with the same issue.

    My project is in Unity 2021.1.0f1 HDRP and I'm getting a very strange issue with area lights. I will choose a color (in this example, a green) and when I play the game, the color will change to red. This also happens in a stand alone build as well and it doesn't happen every time.

    If I restart the game (or replay in editor) sometimes the light will appear as my chosen color. I have done nothing to any of these lights, I don't have scripts that access them either. I simply place an area light and this happens from time to time.

    Now I have noticed that it is also doing it in the editor itself. In the provided screen shot, you can see I have a green color chosen but it appears red. Usually, the color will appear correct in editor and then change to this on play. So this is a new addition to this issue.

    I have no color correction going on in the scene either, nor do I have a large number of lights in the scene. (47 I believe and only about 8 of them are area lights in different rooms)

    EDIT: I restarted unity and my lights are blue again but again, when I runt he game they will sometimes change to red.

    light.jpg
     
    Last edited: Jun 7, 2021
  2. DarkStoneDigital

    DarkStoneDigital

    Joined:
    Sep 9, 2018
    Posts:
    12
    No one has run into this before?