Search Unity

URP lighting bake is taking forever

Discussion in 'Global Illumination' started by jammer42777, Mar 24, 2020.

  1. jammer42777

    jammer42777

    Joined:
    Apr 21, 2014
    Posts:
    116
    I feel bad about even needing to post this.
    But I'm stuck in unity 2019.3 and trying to bake lighting.
    I'm using the indoor lighting corridor demo.
    The lighting is taking a very long time.

    Are there some general tips to speed up baking time?
    Thanks!
    --Joshua
     

    Attached Files:

    • 1.jpg
      1.jpg
      File size:
      65.8 KB
      Views:
      485
    • 2.jpg
      2.jpg
      File size:
      51 KB
      Views:
      473
    • 3.jpg
      3.jpg
      File size:
      43.2 KB
      Views:
      471
    • 4.jpg
      4.jpg
      File size:
      45.7 KB
      Views:
      462
    • 5.jpg
      5.jpg
      File size:
      43.3 KB
      Views:
      456
  2. kristijonas_unity

    kristijonas_unity

    Unity Technologies

    Joined:
    Feb 8, 2018
    Posts:
    1,080
    Does this reproduce in other projects? Keep in mind that corridor lighting example is a very old project that was authored for Enlighten baked GI.
     
  3. Batuhan13

    Batuhan13

    Joined:
    Apr 9, 2017
    Posts:
    117
    cpu lightmapping is extremely slow in my pc too I am always using gpu lightmapper have you tried it?
     
  4. Regone

    Regone

    Joined:
    Aug 1, 2014
    Posts:
    35
    sorry for the half necro-ing but is there a solution?
    2019.4.13f1, URP 3.1.0 here
    (Ryzen 3900, RTX2080 ti)

    GPU Progressive is not doing anything
    CPU Progressive(19mrays/s) is just so slow for a simple scene


    Edit:
    After waiting for about 10 minutes unity suddenly identified the baking device and did it in 22 seconds on 190mrays/s


    but still it takes a long time to just identify the baking device :|
    + a lot of unity loading times
     
    Last edited: Oct 26, 2020
  5. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,791
    19mrays/s is not bad for CPU.
     
  6. Regone

    Regone

    Joined:
    Aug 1, 2014
    Posts:
    35
    For this scene,i don't know why it is pretty slow :\
     
  7. ADufay

    ADufay

    Unity Technologies

    Joined:
    Jan 2, 2020
    Posts:
    30
    Regone likes this.