Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Baked lightmap filtering failed

Discussion in 'Editor & General Support' started by Lawina, Apr 30, 2019.

  1. Lawina

    Lawina

    Joined:
    Feb 28, 2019
    Posts:
    21
    I keep getting the "Baked lightmap filtering failed. The final baked lightmap is likely to have poor quality. Try disabling the Optix denoiser or lower the lightmap resolution." error message when using LWRP. I tried disabling the Optix denoiser and lowering the lightmap resolution, but it's still happening.

    Anyone has a solution for this or is it a known bug in the latest Unity 2019.1?
     
    wolfgang7913 likes this.
  2. torjairobert18

    torjairobert18

    Joined:
    Jan 26, 2019
    Posts:
    7
    I have the same error, some solution?
     
  3. Stamblew

    Stamblew

    Joined:
    Sep 3, 2014
    Posts:
    22
    I got the same error in Unity 2019.1. Is it a bug or what? When I decrease the lightmap resolution to 30 or below, Unity crashes and closes automatically.
     
  4. junrill

    junrill

    Joined:
    Jul 27, 2016
    Posts:
    8
    no solution for this?
     
  5. JamesArndt

    JamesArndt

    Joined:
    Dec 1, 2009
    Posts:
    2,932
    @Jesper-Mortensen @JenniferNordwall Any insights into why the Optix Denoiser might be throwing these errors in Unity 2019.1? Have you guys seen this error occurring?
     
  6. HeyBishop

    HeyBishop

    Joined:
    Jun 22, 2017
    Posts:
    238
    Same situation here.

    For the life of me, I can't figure out how to disable the Optix denoiser.
     
    mandisaw and JamesArndt like this.
  7. AlexanderAlza

    AlexanderAlza

    Joined:
    Feb 1, 2019
    Posts:
    6
    No updates on this? Still seeing it in 2019.1.8f1, may update to latest but not confident that will fix things.
     
    JamesArndt likes this.
  8. nsxdavid

    nsxdavid

    Joined:
    Apr 6, 2009
    Posts:
    476
    Same in 2019.1.10f1
     
  9. setutattva

    setutattva

    Joined:
    Aug 24, 2019
    Posts:
    1
    did anyone got it?
    I'm still stuck
     
  10. commonolithic

    commonolithic

    Joined:
    Mar 19, 2019
    Posts:
    3
    From the lightmapper unity manual:
    The Progressive Lightmapper supports the NVIDIA OptiX AI-Accelerated Denoiser, which reduces perceptible noise in the lightmap without causing blurring. It requires an NVIDIA GPU with 4GB+ VRAM and driver version 390+. It is not supported for the NVIDIA Series 20x GPUs (Turing RTX).
    Wish i'de found this sooner
     
    Lawina likes this.
  11. immeasurability

    immeasurability

    Joined:
    Apr 22, 2014
    Posts:
    125
    how to do that? i have NVIDIA Series 2060!
    Unity 2019.1.14f1
     
    theunsigned likes this.
  12. Lodos3

    Lodos3

    Joined:
    Feb 5, 2014
    Posts:
    3
    are they ever going to fix this? still getting this with the 3080
     
  13. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,624
    I believe it means your cards running out of VRAM. Apparently they made some improvements in that area in 2020.2 ?
     
  14. wolfgang7913

    wolfgang7913

    Joined:
    Apr 25, 2017
    Posts:
    4
    aby updates on this?
     
  15. auzzymo

    auzzymo

    Joined:
    Nov 19, 2017
    Posts:
    17
    I found this in Lighting > Lightmapping Settings > Filtering > (Set) Advanced > Optix etc is in here. Still won't bake in GPU Progressive even with "None" selected. Hopefully they get a fix for this soon as 40 mins CPU bake v 1 min GPU is hard to accept
     
  16. GeroNL

    GeroNL

    Joined:
    Dec 25, 2020
    Posts:
    3
    It work, Thanks
     
  17. subhomukh1407

    subhomukh1407

    Joined:
    Aug 2, 2018
    Posts:
    10
    "I found this in Lighting > Lightmapping Settings > Filtering > (Set) Advanced > Optix etc is in here. Still won't bake in GPU Progressive even with "None" selected. Hopefully they get a fix for this soon as 40 mins CPU bake v 1 min GPU is hard to accept"

    It works. Thanks a lot
     
  18. NextVertex

    NextVertex

    Joined:
    Sep 26, 2016
    Posts:
    28
    Setting Filtering to None made this issue dissapear, but now I have noise everywhere ... How to enable filtering without having these issues ? Any updates on this ?
     
  19. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,624
    Don't enable filterting, just raise the indirect samples value a lot.

    Bakes might start taking a lot of time, but this is the way to get artifact and noise free bakes.
     
    NextVertex likes this.
  20. NextVertex

    NextVertex

    Joined:
    Sep 26, 2016
    Posts:
    28
    Bakes already takes hours and hours :( But I'll try to increase indirect sample as you suggested, maybe it doesn't increase that much the baking time...
     
  21. NextVertex

    NextVertex

    Joined:
    Sep 26, 2016
    Posts:
    28
    For those who have the same problem : Go in Lighting > Lightmapping Settings > Filtering > (Set) Advanced > changeDirect / indirect Denoiser from Optix to something else like OpenImageDenoise, it fixed the problem for me !