I have rendered out lightmaps from Max.
The following is my setup in Unity:
With scripting I have added the lightmaps to the LightmapSettings.lightmaps array and set my static geometry renderers to the proper lightmap index. I have turned of unity GI and unchecked auto baked. Lightmap mode is set to non-directional.
With all these settings I can see the lightmaps working when I run the game in editor. When I build to PC target the lightmaps do not appear.
Am I missing a setting for my lightmaps to load in the build? Please help.
Using Unity 5.