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.
  2. Dismiss Notice

Lighting in a built project varies across machines

Discussion in 'Editor & General Support' started by lizzie_things, Oct 15, 2014.

  1. lizzie_things

    lizzie_things

    Joined:
    Oct 15, 2014
    Posts:
    3
    Hello,

    I have a really tricky bug I'm stuck with and was hoping someone would be able to please help me.
    I have built my project into an exe file for windows 64bit, and everything runs beautifully on my machine, however I have tested it on a few other machines in our office and just one of the scenes has a really bright light in it washing the whole scene out to a yellow colour.
    Theoretically we should all have identical set-up machines so i can't see that it would be a hardware issue, and I have tried copying the file I passed to them from a memory stick and that too still works fine on my machine.

    Is this something anyone else has ever come across? Any help would be very much appreciated!

    Thanks a lot.
     
  2. Graham-Dunnett

    Graham-Dunnett

    Unity Technologies

    Joined:
    Jun 2, 2009
    Posts:
    4,287
    If you take a screenshot on the "yellow" machine and copy that to your machine, does the screenshot look correct? I wonder if it's the gamma set on the monitor on the yellow machine. Maybe it's displaying colours "wrong"?
     
  3. lizzie_things

    lizzie_things

    Joined:
    Oct 15, 2014
    Posts:
    3
    Thank you for your suggestion, but we did a screencast of it on a machine where it looks yellow, and played that on mine, and it was still yellow.
     
  4. Graham-Dunnett

    Graham-Dunnett

    Unity Technologies

    Joined:
    Jun 2, 2009
    Posts:
    4,287
    So, next try, take a screenshot using:

    http://docs.unity3d.com/ScriptReference/Application.CaptureScreenshot.html

    That will grab the pixels. Then compare. My thinking is:

    a) Monitor messing up the presentation
    b) Video output from GPU messing up the presentation
    c) Shader messing things up.

    You've confirmed it's not (a). Now I've asked you to check (b), which will leave ( c ). I don't have many thoughts about that at this time.
     
  5. lizzie_things

    lizzie_things

    Joined:
    Oct 15, 2014
    Posts:
    3
    Many thanks for your help on this issue, I have sort of solved it now, at least I found that one of the lights in my scene was duplicated which was washing it out, so I have been able to stop it, but I haven't been able to find out why it only affected certain machines. Thank you very much for your time anyway though!