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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Calling Lightmapping.BakeLightProbesOnly will also bake lightmap

Discussion in 'Global Illumination' started by ShuraK, Jul 29, 2015.

  1. ShuraK

    ShuraK

    Joined:
    Jan 15, 2015
    Posts:
    23
    before unity5, we can bake light probes by clicking "bake light probes" in the lightmapping window.

    in unity5, the button is gone. There's only lightmapping.BakeLightProbesOnly() in the editor script functions. but calling this function will bakes both lightmap and probes.

    any solution to bake light probes without baking lightmaps ? or any plan to fix this bug ?

    thx
     
    Last edited: Jul 29, 2015
  2. KEngelstoft

    KEngelstoft

    Unity Technologies

    Joined:
    Aug 13, 2013
    Posts:
    1,366
    Oops, looks like you are right. Now that we know, we can fix this.

    Thanks for reporting this.
     
  3. Justafin

    Justafin

    Joined:
    Aug 6, 2012
    Posts:
    30
    Any word on when or if this fix has made its way into a build?
     
  4. essimoon2

    essimoon2

    Joined:
    Nov 13, 2013
    Posts:
    195
    oh nice, didn't know that but it sounds super useful! :O
    Would love to know anything new about this fix, too.