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. Join us on Thursday, June 8, for a Q&A with Unity's Content Pipeline group here on the forum, and on the Unity Discord, and discuss topics around Content Build, Import Workflows, Asset Database, and Addressables!
    Dismiss Notice

[LWRP] Area light baking not working

Discussion in '2019.2 Beta' started by jay3sh, Apr 18, 2019.

  1. jay3sh

    jay3sh

    Joined:
    Dec 30, 2013
    Posts:
    14
    I'm trying to generate light maps with an area light (which is baked only), but I don't see any light output in generated lightmaps. I verified this by switching the viewport to "baked lightmap" mode. I do see some light output when using point lights in Baked mode. Are area lights not working in LWRP? I'm on 2019.2.0.a9
     
  2. pwalders

    pwalders

    Joined:
    Jul 26, 2018
    Posts:
    1
    noticed the same thing using 19.1.0f2. Ill post if i figure it out!
     
  3. jay3sh

    jay3sh

    Joined:
    Dec 30, 2013
    Posts:
    14
    I found that one way to get around it is to create a static emissive light in the shape of the plane. It's virtually the same.
     
  4. JoeysLucky22

    JoeysLucky22

    Joined:
    May 11, 2013
    Posts:
    15
    Also having this issue with 2019.1.2f1

    This is after manually baking. Doesn't matter if I'm using enlighten or progressive.
    lwrparealight.jpg
     
  5. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,064
    This issue is going to be fixed in LWRP 5.14.0 for 2019.1 and 6.7.0 for 2019.2.
     
  6. hgulgen

    hgulgen

    Joined:
    Nov 29, 2016
    Posts:
    50
  7. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,064
    The fix is available from LWRP 5.14.0 onwards for 2019.1 releases.

    Could you please update the editor to 2019.1.6 and then the LWRP version to 5.16.1 and see if this resolves the issue?
     
  8. Exis

    Exis

    Joined:
    Jan 27, 2014
    Posts:
    14
    @LeonhardP , I have version 2019.1.6f1 Updated the LWRP 5.16.1 to and it's still not working with area lights.
     
  9. Filimindji

    Filimindji

    Joined:
    Oct 11, 2016
    Posts:
    5
    Hello, I just found how to make area work with 2019.1.6f1 Updated the LWRP 5.16.1.

    Just create a Point light, baked, then switch to Area.

    https://prnt.sc/o2had5
     
  10. Exis

    Exis

    Joined:
    Jan 27, 2014
    Posts:
    14
    I literally came here to say the same exact thing and found your post. Awesome stuff :)
     
    Filimindji likes this.
  11. jae026

    jae026

    Joined:
    Oct 29, 2016
    Posts:
    57
    not working for me in 2019.1.6
     
  12. FredMoreau

    FredMoreau

    Unity Technologies

    Joined:
    May 27, 2019
    Posts:
    33
    Working in 2019.2.0f1 with LWRP 6.9.1.
    Switch your Area Light to Point, switch it from Realtime to Baked, switch it back to Area.
     
    mgsvevo, au-relius, P_Jong and 3 others like this.
  13. pikoff

    pikoff

    Joined:
    Nov 8, 2012
    Posts:
    4
    Not working for me
     
  14. ds13

    ds13

    Joined:
    Mar 12, 2018
    Posts:
    4
    This worked for me. Unity 2019.2.2f1 with LWRP 6.9.1. Thanks.
     
  15. P_Jong

    P_Jong

    Joined:
    Jun 14, 2017
    Posts:
    58
    This worked for me in 2019.2.5f1 and LWRP 6.9.1 Interesting new workflow Unity has created. o_O
     
    khalvr and au-relius like this.
  16. Wully

    Wully

    Joined:
    Mar 18, 2014
    Posts:
    13
    Worked for me, 2019.2.9f1 LWRP 6.9.2, very weird workflow..
     
  17. WRG_Will

    WRG_Will

    Joined:
    Apr 18, 2018
    Posts:
    1
    Area light only works as Rectangle shape, not Disc, even when I've updated to LWRP 6.9.2. Could do with a disc shaped one please Unity!