We constantly have an issue where lightmaps don’t appear in the editor or the game.
Whenever this happens I can see in the editor that the lightmaps are still being loaded, but the ‘lightmapIndex’ value is set to -1 for all renderers, so the scene appears unlit.
I believe we’re properly adding all relevant files to source control. We source control the scene file, the LightingData.asset file, all files in ProjectSettings, and all the .meta files for each asset. Is there something I’m missing?
Right now we’re forced to work without lightmaps most of the time, and we rebake them before doing a release. Hardly an ideal scenario.