Search Unity

Loosing Lightmaps on build in batchmode

Discussion in 'General Graphics' started by FixItFelix, Apr 16, 2019.

  1. FixItFelix

    FixItFelix

    Joined:
    Mar 27, 2017
    Posts:
    54
    Hello everybody,

    I encountered the following scenario. I have a scene which contains a baked lightmap for the terrain. On my machine, in the editor, I can see the baked lights on the ground. And if I make a build I will also see that on the android device. But...

    If I make a build in batch mode the resulting build will not have any lightmaps.

    Anybody saw a similar problem?

    It seems if I commit everything the light data asset and the .exr files to git and my colleague is getting this and start a build. It also lost the lightmapping.

    Greetings
    Felix