real-time shadows casting through lightmapped objects

I’m just getting started with light mapping in unity, and after baking a scene with the default settings, I’m seeing strange behavior with dynamic shadow casters. The shadow appears to be rendering through all lightmapped objects (in this case, the wall). This appears to be true for all dynamic shadow casters (tested with default cube too).

Using forward rendering with a single directional light, Single Lightmaps mode & Unity Pro. Hoping it’s something simple for someone more familiar with light mapping.


screenshot of bug

Click for large image

EDIT: For anyone else who finds this thread, more info here:

Use the layers. Make sure the light mapped objects are on one layer, and the nonlightmapped should be on another. On the directional light, set the culling mask to not include the layer of lightmapped objects.