Lightmapping error(bug)

Hello!
I have some problem with lightmapping.
What I do:

  1. Before importing model I checked checkboxes: Swap Uv’s, Generate Lightmap UVs
  2. I put my model into scene.
  3. Create new layer (ex. HouseLayer)
  4. Changed my model layer to HouseLayer.
  5. Add to my model some point lights.
  6. Change point lights layer to HouseLayer.
  7. Select necessary point lights
  8. Open Lightmapping window and start baking selected point lights.
    After baking I’ve got such error:

Something went wrong in the Beast lightmapper: Job Execution Failure - Nothing to do in job
This is a bug - please report it with a scene reproducing the issue.
UnityEditor.DockArea:OnGUI()

I have read that this problem rises when Generate Lightmap UVs is unchecked. But in my case I checked it.
Here are some screens:
[attach=full]58028[/ATTACH
]



Thanks to all!

Try this:

  1. Create new project
  2. Import your 3D model
  3. Check Generate Lightmap UVs
  4. Place a plane and the 3D model on scene
  5. Put some light and turn on shadow
  6. Check Lightmap Static for both plane and 3d model
  7. Open lightmapping windows and Bake Scene

Thanks

One thing it does tell you what to do is report the bug: “This is a bug - please report it with a scene reproducing the issue.”.

If you’re looking for a workaround try to isolate the issue further, maybe don’t put the house model and lights on a separate layer before baking.

Thanks,
Chris

Thanks fow your’s answers! I am new to lightmapping so there are a lot of questions:
maybe there is another way to light my models inside without putting lights on a separate layer? I dont want to bake all terrain, I just want to bake only my house inside.

To use Lightmapping, you check Lightmap static on whatever objects you want lightmapped. If you do not want the terrain to be lightmapped ensure lightmap static is unchecked.

You can also use bake selected, select your house and use bake selected.

Thanks,
Chris

Thanks this really helps me, now my house lights are baked normally without any errors! My mistake was in that I choose not house but lights in it and press Bake Selected.

And one moe question: should I have to select all children components of house or just main parental house object (I have seen there are some difference between these two ways of selection and lightmapping effect).

Not sure what you mean to do, but usually when selecting the parent and setting an option such as Static, it will ask if you want to apply it to all children, which then you click yes.

If you want to Generate UV’s, you need to do it to each individual object in the Project pannel.