Search Unity

Problem with lightmap bake in directional mode

Discussion in 'Global Illumination' started by phoenix0330, Jun 14, 2019.

  1. phoenix0330

    phoenix0330

    Joined:
    Dec 4, 2010
    Posts:
    65
    hi, when i bake lightmap with directional mode this bright white emissions start apearing on the object like in the image, why is this happening ? i tryed moving the lightmap scale of the objetc, the resolution of the lightmap and nothing and when i fix one object moving thoes values, another object gets messed up. most of the time this happens with probuilder created objects or probilderized.
    thanks.
    ffdsfdsf.png
     
  2. kristijonas_unity

    kristijonas_unity

    Unity Technologies

    Joined:
    Feb 8, 2018
    Posts:
    1,080
    These look like NaN artifacts. We had similar issues before in scenes with many area lights, but it should be already fixed in the latest public release.

    Which Unity version are you using, and what are your lighting settings?
     
  3. phoenix0330

    phoenix0330

    Joined:
    Dec 4, 2010
    Posts:
    65
    right now im using 2019.1.6f1 and this are my light settings
    settings.PNG
    i have 6 area lights in the scene right now, is there a limit for this ??
     
  4. kristijonas_unity

    kristijonas_unity

    Unity Technologies

    Joined:
    Feb 8, 2018
    Posts:
    1,080
    Have you tried baking the same scene with the CPU lightmapper? And if so, do the same issues reproduce?
     
  5. phoenix0330

    phoenix0330

    Joined:
    Dec 4, 2010
    Posts:
    65
    tried it and got worst
    Capturefds.PNG
     
  6. kristijonas_unity

    kristijonas_unity

    Unity Technologies

    Joined:
    Feb 8, 2018
    Posts:
    1,080
    Alright, this looks like a bug. Could you please submit a bug report using Unity's in-built bug reporting tool? It would really help if you would do that from within a small repro project that you are comfortable with sharing.
    Once that is done please post the bug ID here so that we could take a look.
     
  7. phoenix0330

    phoenix0330

    Joined:
    Dec 4, 2010
    Posts:
    65
    done... Case 1164137 thanks for the help