Search Unity

  1. Get all the Unite Berlin 2018 news on the blog.
    Dismiss Notice
  2. Unity 2018.2 has arrived! Read about it here.
    Dismiss Notice
  3. Improve your Unity skills with a certified instructor in a private, interactive classroom. Learn more.
    Dismiss Notice
  4. ARCore is out of developer preview! Read about it here.
    Dismiss Notice
  5. Magic Leap’s Lumin SDK Technical Preview for Unity lets you get started creating content for Magic Leap One™. Find more information on our blog!
    Dismiss Notice
  6. Want to see the most recent patch releases? Take a peek at the patch release page.
    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:
    33
    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)



    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:
    21
    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 your 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
     
    Last edited: Feb 23, 2018
    gumbomasta likes this.