Search Unity

[BUG] Switching platforms breaks the baked light settings resulting in broken lights.

Discussion in 'Global Illumination' started by elhongo, Jan 20, 2019.

  1. elhongo

    elhongo

    Joined:
    Aug 13, 2015
    Posts:
    47
    Hi,

    Recently i have been fighting with a very weird bug,

    Switching platforms from Windows to Android breaks the light settings of the scene, once broken i have to rebake everything or i will get or i would get lights that seems to have super high intensity and other errors.


    I am using Unity 2018.2.20f.
     
  2. KEngelstoft

    KEngelstoft

    Unity Technologies

    Joined:
    Aug 13, 2013
    Posts:
    1,366
    Hi, are you using emulation mode? What does it say in the editor title? <DX11>?

    Perhaps intensity is the problem. High dynamic range lighting can be compressed to an extent where it can't be correctly represented on low end mobile phones. Intense lighting can correctly be stored in a BC6H texture bot will clip if dLDR encoding is used. See this page for more detail https://docs.unity3d.com/Manual/Lightmaps-TechnicalInformation.html