Search Unity

Create Lightmap Problem?

Discussion in 'Editor & General Support' started by Mordekai, Nov 9, 2009.

  1. Mordekai

    Mordekai

    Joined:
    Nov 8, 2009
    Posts:
    24
    When trying to 'create lightmap' I set my light size to 1 which then brings up Element 0. When I try to modify the Element 0 from 'None (Light)' there are no other options to select. When I now try to create this lightmap I get an TargetInvocationException error at the bottom of the screen. I'm trying to set the Element 0 option to 'Directional Light'.

    Any ideas?

    Thanks.
    M.
     
  2. theBrandonWu

    theBrandonWu

    Joined:
    Sep 3, 2009
    Posts:
    244
    I also have the same problem. I tried re-installing but that didn't help. Any ideas?
     
  3. theBrandonWu

    theBrandonWu

    Joined:
    Sep 3, 2009
    Posts:
    244
    just experimented with this a bit. Try adding a light GameObject and then try to create a lightmap again. I added a Point light object and now I can choose it in the lightmap window.
     
  4. Dreamora

    Dreamora

    Joined:
    Apr 5, 2008
    Posts:
    26,601
    thats correct
    the listing will allow you to use a self defined set of your placed light sources for the lightmapping