Search Unity

  1. We want you to join us at GDC this year! Take a peek at all of the events we will be hosting during the week of GDC.
    Dismiss Notice
  2. Tell us about your experience here and you’ll get early access to the 2018 Game Studios report + more goodies.
    Dismiss Notice
  3. Unity 2017.3 has arrived! Read about it here.
    Dismiss Notice
  4. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice
  5. We've closed the job boards. If you're looking for work, or looking to hire check out Unity Connect. You can see more information here.
    Dismiss Notice

Memory Usage in the Progressive Lightmapper Debug Panel

Discussion in 'Global Illumination' started by gumbomasta, Feb 13, 2018.

  1. gumbomasta

    gumbomasta

    Joined:
    Oct 24, 2013
    Posts:
    32
    I've been working with the Progressive Lightmapper, but I've noticed something in the 2018.1.0b4 beta that I can't quite figure out. Unlike in previous versions of Unity, when I bake my lightmaps using the PLM, I get an additional piece of information in the "debug" area related to "Memory Usage":

    (scroll down to the bottom of the screenshot)

    [​IMG]

    How is this "Memory Usage" being used, exactly? Is the lightmap data taking up 2.0MB or 210 MB? Does this only apply in the editor or at Runtime, too? What are some strategies for reducing this, or should I even concern myself with it? Is this related to this issue?

    thanks for your guidance on this~!

    =g
     
  2. kristijonas_unity

    kristijonas_unity

    Unity Technologies

    Joined:
    Feb 8, 2018
    Posts:
    1
    Hello.

    Thank you for expressing you concerns. "Memory Usage" stat displays the amount of RAM used by the Progressive Lightmapper, and has nothing to do with the lightmap size itself. The amound of RAM increases based on the complexity of your scene. If you have the RAM to spare in your machine, I would not worry about the amount of memory consumed by the Progressive Lightmapper.

    If you want to check the size of your lightmaps, you can refer to the line at the top of the debug window (which currently shows, that you lightmaps are taking up 2.0MB of space). Alternatively, you can also navigate to Lighting > Global Maps, and inspect your lightmaps there.

    If you have further questions, do not hesitate to ask. Thank you and take care!

    Kristijonas
     
    gumbomasta likes this.